/* P0: form consent spacing across all legacy routes, 2026-11-05.
   Keep existing submit handlers and required checkbox. */
.b-sms_bg, .es4_bg, .es8_bg, .es13_bg, .es17_bg{
  overflow:visible!important;box-sizing:border-box!important
}
.b-sms_bg{
  height:auto!important;min-height:325px!important;
  padding-top:22px!important;padding-bottom:38px!important
}
.b-sms_bg .container,.b-sms_bg .row,.b-sms_bg .col-md-7{
  height:auto!important;min-height:0!important;overflow:visible!important
}
.b-sms_bg form[data-pv-demo-form]{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;clear:both!important;
  float:none!important;width:min(100%,380px)!important;max-width:100%!important;
  height:auto!important;min-height:0!important;overflow:visible!important;
  margin:8px auto 0!important;padding:0 0 18px!important;box-sizing:border-box!important
}
.b-sms_bg form[data-pv-demo-form]>.b-sms_input_tel{
  display:block!important;float:none!important;clear:both!important;position:relative!important;
  width:100%!important;max-width:380px!important;box-sizing:border-box!important;
  height:auto!important;min-height:54px!important;margin:0 auto!important;padding:0!important
}
.b-sms_bg form[data-pv-demo-form]>.b-sms_input_tel input[type=tel]{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important
}
.b-sms_bg form[data-pv-demo-form]>label.pv-consent-fixed{
  display:flex!important;order:2!important;align-self:stretch!important;
  width:100%!important;max-width:380px!important;
  margin:18px 0 19px 0!important;padding:0!important;
  font:400 13px/1.4 Arial,Helvetica,sans-serif!important;color:#191919!important
}
.b-sms_bg form[data-pv-demo-form]>input[type=image]{
  display:block!important;order:3!important;position:relative!important;float:none!important;
  align-self:center!important;clear:both!important;
  max-width:100%!important;width:auto!important;height:auto!important;
  margin:4px auto 0!important;padding:0!important
}
.b-sms_bg form[data-pv-demo-form]>.pv-form-status{order:4!important;clear:both!important}
.es17_blockbg{height:auto!important;min-height:160px!important;overflow:visible!important;
  box-sizing:border-box!important;padding-bottom:20px!important}
.es17_blockbg form[data-pv-demo-form]{
  height:auto!important;min-height:0!important;overflow:visible!important;
  clear:both!important;display:flow-root!important;box-sizing:border-box!important;
  padding-bottom:22px!important
}
.es17_blockbg form[data-pv-demo-form]>label.pv-consent-fixed{
  width:min(100%,var(--pv-consent-width,320px))!important;
  max-width:100%!important;margin-top:18px!important;margin-bottom:18px!important
}
.es17_blockbg form[data-pv-demo-form]>img,
.es4_bg form[data-pv-demo-form]>.es4_but,
.es8_bg form[data-pv-demo-form]>.es8_but{
  position:relative!important;clear:both!important
}
.es13_bg form[data-pv-demo-form] .col-md-6:has(> .es13_input){
  height:auto!important;min-height:0!important;overflow:visible!important
}
.es13_bg form[data-pv-demo-form] label.pv-consent-fixed{
  margin-top:20px!important;margin-bottom:15px!important;
  width:min(100%,var(--pv-consent-width,380px))!important;
  font-size:12px!important;line-height:1.4!important
}
.es13_bg form[data-pv-demo-form] .row{height:auto!important;min-height:0!important;align-items:start!important}
#gift form[data-pv-demo-form] label.pv-consent-fixed,
#kupitDeshevle form[data-pv-demo-form] label.pv-consent-fixed,
#want_zamer form[data-pv-demo-form] label.pv-consent-fixed,
.modal form[data-pv-demo-form] label.pv-consent-fixed{
  margin-top:18px!important;margin-bottom:17px!important;
  position:relative!important;float:none!important;clear:both!important;
  height:auto!important;min-height:19px!important
}
@media(max-width:767px){
 .b-sms_bg{min-height:0!important;padding-top:24px!important;padding-bottom:40px!important}
 .b-sms_bg form[data-pv-demo-form]{width:min(100%,340px)!important;margin:8px auto!important}
 .b-sms_bg form[data-pv-demo-form]>label.pv-consent-fixed{font-size:12px!important;margin-top:19px!important;margin-bottom:20px!important}
 .es17_blockbg form[data-pv-demo-form]{
   padding-bottom:28px!important
 }
 .es13_bg form[data-pv-demo-form] label.pv-consent-fixed{
   margin-top:20px!important;margin-bottom:18px!important
 }
}


/* P0.2 — legacy blocks grow with their forms instead of clipping consent.
   Preserve source background images and CTA assets; never change lead handling. */
.es4_bg,.es8_bg,.es13_bg,.es17_bg{
  height:auto!important;max-height:none!important;overflow:visible!important;
  box-sizing:border-box!important;display:flow-root!important;
  background-position:center top!important;background-size:cover!important
}
.es4_bg{min-height:293px!important;padding-bottom:42px!important}
.es8_bg{min-height:562px!important;padding-bottom:42px!important}
.es13_bg{min-height:530px!important;padding-bottom:54px!important}
.es17_bg{min-height:644px!important;padding-bottom:56px!important}
.es4_bg .container,.es8_bg .container,.es13_bg .container,.es17_bg .container{
  height:auto!important;min-height:0!important;max-height:none!important;
  box-sizing:border-box!important;overflow:visible!important
}
.es4_bg form[data-pv-demo-form],.es8_bg form[data-pv-demo-form],
.es13_bg form[data-pv-demo-form],.es17_bg form[data-pv-demo-form]{
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:visible!important;box-sizing:border-box!important
}
.es8_bg .es8_form{
  height:auto!important;min-height:459px!important;max-height:none!important;
  padding-bottom:24px!important;box-sizing:border-box!important;
  background-size:100% 100%!important;overflow:visible!important
}
.es17_bg .es17_blockbg{
  height:auto!important;min-height:251px!important;max-height:none!important;
  padding-bottom:28px!important;background-size:100% 100%!important;
  box-sizing:border-box!important;overflow:visible!important
}
.es13_bg form[data-pv-demo-form] > .container{
  height:auto!important;min-height:0!important;padding-bottom:12px!important;
  box-sizing:border-box!important;overflow:visible!important
}
.es13_bg form[data-pv-demo-form] .row{
  height:auto!important;min-height:0!important;max-height:none!important
}
.es13_bg form[data-pv-demo-form] .es13_but_div{
  padding-top:8px!important;box-sizing:border-box!important
}
@media(max-width:991px){
  .es4_bg,.es8_bg,.es13_bg,.es17_bg{
    min-height:0!important;height:auto!important;padding-bottom:46px!important
  }
  .es8_bg .es8_form{min-height:0!important;padding:18px 12px 28px!important}
  .es13_bg form[data-pv-demo-form] .es13_but_div{
    float:none!important;clear:both!important;text-align:center!important
  }
}
