/* Этап 7, вопрос 3 (Антон 04.11): Привилегия и Биржа двумя карточками сразу под расчётом; цвета брендбука, преимущества и картинки (Антон 04.11 14:11) */
.bd-switcher.lav7-fmt-on .bd-compare-entry-row,.bd-switcher.lav7-fmt-on .bd-switch-tabs{display:none!important}
html body .bd-switcher.lav7-fmt-on{display:block}
html body .bd-switcher.lav7-fmt-on .bd-switch-choice{display:none!important}
.lav7-fmt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px}
html body .bd-switcher .lav7-fc,body.v3.minimal-mode:not(.unused) .bd-switcher .lav7-fc{position:relative;display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:0;border-radius:16px;overflow:hidden;font:inherit;cursor:pointer;min-width:0;box-shadow:none!important;transition:box-shadow .15s,transform .15s}
html body .bd-switcher .lav7-fc-privilegia,body.v3.minimal-mode:not(.unused) .bd-switcher .lav7-fc-privilegia{background:#142B40!important;color:#fff!important;border:2px solid #142B40!important}
html body .bd-switcher .lav7-fc-birzha,body.v3.minimal-mode:not(.unused) .bd-switcher .lav7-fc-birzha{background:#EAF6FD!important;color:#16232F!important;border:2px solid #BFE3F7!important}
html body .bd-switcher .lav7-fc-privilegia[aria-pressed="true"],body.v3.minimal-mode:not(.unused) .bd-switcher .lav7-fc-privilegia[aria-pressed="true"]{border-color:#D2B488!important;box-shadow:0 0 0 2px #D2B488!important}
html body .bd-switcher .lav7-fc-birzha[aria-pressed="true"],body.v3.minimal-mode:not(.unused) .bd-switcher .lav7-fc-birzha[aria-pressed="true"]{border-color:#049DEA!important;box-shadow:0 0 0 2px #049DEA!important}
.lav7-fc:focus-visible{outline:3px solid #049DEA;outline-offset:3px}
.lav7-fc-img{display:block;aspect-ratio:3/2;overflow:hidden;background:#DCE6EF}
.lav7-fc-img img{display:block;width:100%;height:100%;object-fit:cover}
.lav7-fc-body{position:relative;display:flex;flex-direction:column;gap:8px;padding:16px 16px 18px;flex:1}
.lav7-fc-mark{display:block;height:28px;width:auto;align-self:flex-start}
.lav7-fc-body strong{font-size:22px;line-height:28px;font-weight:700}
.lav7-fc-lead{font-size:14px;line-height:20px;font-weight:600}
.lav7-fc-privilegia .lav7-fc-lead{color:#D2B488}
.lav7-fc-birzha .lav7-fc-lead{color:#049DEA}
.lav7-fc-points{display:grid;gap:6px;font-size:13px;line-height:18px}
.lav7-fc-points span{position:relative;padding-left:20px}
.lav7-fc-points span::before{content:"✓";position:absolute;left:0;top:0;font-weight:800}
.lav7-fc-privilegia .lav7-fc-points{color:rgba(255,255,255,.88)}
.lav7-fc-privilegia .lav7-fc-points span::before{color:#D2B488}
.lav7-fc-birzha .lav7-fc-points{color:#3B4C5A}
.lav7-fc-birzha .lav7-fc-points span::before{color:#1FB4FD}
.lav7-fc-cost{display:flex;flex-direction:column;margin-top:auto;padding-top:10px}
.lav7-fc-old{font-size:13px;line-height:18px}
.lav7-fc-privilegia .lav7-fc-old{color:rgba(255,255,255,.6)}
.lav7-fc-birzha .lav7-fc-old{color:#81949F}
.lav7-fc-price{font-size:24px;line-height:32px;font-weight:700}
.lav7-fc-price.is-ind{font-size:16px;line-height:22px}
.lav7-fc-dot{position:absolute;top:18px;right:16px;width:20px;height:20px;border-radius:50%;box-sizing:border-box}
.lav7-fc-privilegia .lav7-fc-dot{border:1.5px solid rgba(255,255,255,.6)}
.lav7-fc-privilegia[aria-pressed="true"] .lav7-fc-dot{border:6px solid #D2B488;background:#142B40}
.lav7-fc-birzha .lav7-fc-dot{border:1.5px solid #A8B4C0;background:#fff}
.lav7-fc-birzha[aria-pressed="true"] .lav7-fc-dot{border:6px solid #1FB4FD}
@media (max-width:767px){.lav7-fmt{grid-template-columns:minmax(0,1fr);gap:12px}.lav7-fc-img{aspect-ratio:3/2}.lav7-fc-price{font-size:21px;line-height:28px}}
@media (prefers-reduced-motion:reduce){.lav7-fc{transition:none}}
/* Антон 04.11 14:12: без перегруза — цена только в карточках, одна звёздочка и одна сноска */
.bd-switcher.lav7-fmt-on .bd-quote-panel>span:first-child,.bd-switcher.lav7-fmt-on .bd-quote-panel>h2,.bd-switcher.lav7-fmt-on .bd-switch-total,.bd-switcher.lav7-fmt-on .bd-switch-status{display:none!important}
.bd-switcher.lav7-fmt-on .bd-quote-panel{padding-top:12px!important;padding-bottom:4px!important}
.lav7-star{font-size:.6em;color:inherit;margin-left:1px;vertical-align:super;line-height:0}
.lav7-fc-privilegia .lav7-star{color:#D2B488}.lav7-fc-birzha .lav7-star{color:#1FB4FD}
.lav7-fc-mark{height:44px}
.bd-switcher.lav7-fmt-on .bd-quote-panel{display:flex;flex-direction:column;gap:8px}
.bd-switcher.lav7-fmt-on .bd-quote-panel>*{margin:0!important}
.bd-switcher.lav7-fmt-on .bd-switch-price{display:flex;flex-direction:column;gap:0}
/* Рейтинг форматов (Антон 04.11 18:01): Привилегия 5.0, Биржа 3.8 */
.lav7-fc-rating{display:inline-flex;align-items:center;gap:4px;align-self:flex-start;font-size:14px;line-height:20px;font-weight:700}
.lav7-fc-rating span{color:#F5B400}
.lav7-fc-privilegia .lav7-fc-rating{color:#fff}
.lav7-fc-birzha .lav7-fc-rating{color:#142B40}
/* проверка Fable 04.11: служебные предупреждения расчёта клиенту не показываем (5+ комнат и т.п. — индивидуальный расчёт через менеджера) */
body.v3 .lav7-fmt-on .bd-switch-warning{display:none!important}
/* Аудит Fable 05.11, квиз п.2: одна карточка Привилегии в расчёте — компактно, фото слева */
.lav7-fmt-one{grid-template-columns:minmax(0,1fr)}
html body .bd-switcher .lav7-fmt-one .lav7-fc{flex-direction:row!important;align-items:stretch!important}
.lav7-fmt-one .lav7-fc-img{flex:0 0 42%;aspect-ratio:auto;min-height:0}
.lav7-fmt-one .lav7-fc-body{flex:1}
.lav7-fmt-one .lav7-fc-dot{display:none}
@media (max-width:767px){html body .bd-switcher .lav7-fmt-one .lav7-fc{flex-direction:row!important;align-items:flex-start}.lav7-fmt-one .lav7-fc-img{flex:0 0 96px!important;width:96px!important;height:96px!important;aspect-ratio:1/1;align-self:flex-start;border-radius:12px;margin:14px 0 14px 14px}.lav7-fmt-one .lav7-fc-body{padding:14px 14px 14px 12px}}/* п.9 квиза 05.11: на телефоне фото маленькое слева */
/* Встреча 05.11 (Владимир [26:10]): крестики у Биржи */
.lav7-fc-points span.is-no::before{content:"✕";color:#D92D20!important}
.lav7-fc-birzha .lav7-fc-points span.is-no{color:#16232F}
/* Встреча 05.11 ([31:30], решение): на телефоне выбор формата — слайдер, Привилегия первой, Биржа листанием */
.lav7-fmt-tabs,.lav7-fmt-hint{display:none}
@media (max-width:767px){
 .lav7-fmt-tabs{display:flex;gap:6px;padding:4px;margin:0 0 12px;border-radius:14px;background:#EEF4F9}
 html body .bd-switcher .lav7-fmt-tabs button{flex:1 1 0;min-height:44px;border:0!important;border-radius:10px!important;background:transparent!important;font:inherit;font-size:16px;font-weight:600;color:#3B4C5A!important;cursor:pointer;box-shadow:none!important;padding:0 8px}
 html body .bd-switcher .lav7-fmt-tabs button[aria-pressed="true"]{background:#fff!important;color:#16232F!important;box-shadow:0 1px 3px rgba(20,43,64,.16)!important}
 html body .bd-switcher .lav7-fmt-tabs button[data-compare-format="privilegia"][aria-pressed="true"]{background:#142B40!important;color:#fff!important}
 html body .bd-switcher .lav7-fmt{display:flex!important;grid-template-columns:none;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px 8px;padding:0 16px 4px;scroll-padding:0 16px}
 html body .bd-switcher .lav7-fmt::-webkit-scrollbar{display:none}
 html body .bd-switcher .lav7-fmt>.lav7-fc{flex:0 0 84%!important;scroll-snap-align:start}
 .lav7-fmt .lav7-fc-img{aspect-ratio:2/1}
 .lav7-fmt .lav7-fc-mark{height:32px}
 .lav7-fmt-hint{display:block;margin:0 0 12px;font-size:13px;line-height:18px;color:#5D6E7E;text-align:right}
}
html[data-theme="dark"] .lav7-fmt-tabs{background:#15202B}
html[data-theme="dark"] body .bd-switcher .lav7-fmt-tabs button{color:#A6B4C0!important}
html[data-theme="dark"] body .bd-switcher .lav7-fmt-tabs button[data-compare-format="birzha"][aria-pressed="true"]{background:#1C2A36!important;color:#E9EFF4!important}
/* Маргоша 06.11: «Без предоплаты…» на тёмной карточке Привилегии — читаемый контраст */
html body .bd-switcher .lav7-fc-privilegia .lav316-terms{color:rgba(255,255,255,.8)!important}
