/* «Как купить»: зелёные кнопки (лот в каталоге, калькулятор на главной) и модалка с видео (parts/how_buy_modal) */
.lot-card .lot-card__btn.lot-card__btn--green{background:#2f8f4e;border-color:#2f8f4e;color:#fff}
.lot-card .lot-card__btn.lot-card__btn--green:hover{background:#277a42;border-color:#277a42}
.bq-btn.bq-btn--green{background:#2f8f4e}
.bq-btn.bq-btn--green:hover{background:#277a42}
.hbv{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(10,10,10,.82)}
.hbv[hidden]{display:none}
.hbv__box{position:relative;width:min(1100px,100%);font-family:Rubik,Arial,sans-serif}
.hbv__title{margin:0 48px 12px 0;color:#fff;font-size:20px;font-weight:600;line-height:1.3}
.hbv__video{display:block;width:100%;max-height:calc(100vh - 120px);aspect-ratio:16/9;border-radius:14px;background:#000;object-fit:contain}
.hbv__close{position:absolute;top:-6px;right:0;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.hbv__close:hover{background:rgba(255,255,255,.26)}
html.hbv-lock,html.hbv-lock body{overflow:hidden}
@media (max-width:640px){
  .hbv{padding:12px}
  .hbv__title{font-size:16px;margin-bottom:10px}
  .hbv__video{border-radius:10px;max-height:calc(100vh - 90px)}
}