/* PV original conversion widgets + review photo cleanup, staging 1.0. */
.es14_bg .iosSlider4 .slider>.item .es14_img,
.pv-pilot-reviews .pv-pilot-review-card .wp-block-image {
  border:0!important; border-radius:8px!important;
  box-shadow:0 5px 18px rgba(0,0,0,.14)!important;
  background:#f4f4f4!important
}
.es14_bg .iosSlider4 .slider>.item .es14_img img,
.pv-pilot-reviews .pv-pilot-review-card .wp-block-image img{
  object-fit:cover!important;object-position:center 25%!important
}
.fly_girl, .toptop{
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  animation:none!important;transition:opacity .25s ease,transform .25s ease!important;
  transform:translateY(14px)!important;
}
.fly_girl.pv-widget-visible, .toptop.pv-widget-visible{
  visibility:visible!important;opacity:.94!important;
  pointer-events:auto!important;transform:translateY(0)!important
}
.fly_girl.pv-widget-visible:hover, .toptop.pv-widget-visible:hover{
  opacity:1!important
}
.fly_girl.pv-widget-visible{
  display:block!important;right:max(18px,env(safe-area-inset-right))!important;
  bottom:24px!important;width:174px!important;height:158px!important;
  background:url("/img/want_zamer/fly_girl_c.png") center center / contain no-repeat!important;
  border:0!important;box-shadow:none!important;
  position:fixed!important;z-index:1035!important;cursor:pointer!important
}
.toptop.pv-widget-visible{
  display:block!important;left:max(18px,env(safe-area-inset-left))!important;
  right:auto!important;bottom:24px!important;width:100px!important;
  height:120px!important;position:fixed!important;z-index:1034!important;
  cursor:pointer!important
}
.toptop.pv-widget-visible img{display:block!important;width:100%!important;height:100%!important;
  object-fit:contain!important;max-width:100%!important}
.fly_girl:focus-visible,.toptop:focus-visible{
  outline:3px solid #202020!important;outline-offset:3px!important;border-radius:9px!important
}
/* On phones/tablets the original floating promotional widgets cover navigation
   and form consent. Keep main-page CTA/forms, suppress only duplicate overlays. */
@media(max-width:768px){
  .fly_girl, .fly_girl.pv-widget-visible,
  .toptop, .toptop.pv-widget-visible,
  .vigodno_but {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  /* Override legacy fixed-width popup dialogs so consent and submit remain reachable. */
  .modal .modal-dialog, .modal-bg .modal-dialog,
  #want_zamer .modal-dialog, #gift .modal-dialog,
  #kupitDeshevle .modal-dialog {
    box-sizing:border-box!important;
    width:calc(100% - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin:12px auto!important;
  }
  .modal.in, .modal.show {overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
  .modal .modal-content, .modal-bg .modal-content {
    box-sizing:border-box!important;
    max-height:calc(100vh - 24px)!important;
    max-height:calc(100dvh - 24px)!important;
    overflow-y:auto!important;
    padding-bottom:max(20px,env(safe-area-inset-bottom))!important;
  }
}
@media(prefers-reduced-motion:reduce){.fly_girl,.toptop{transition:none!important}}

/* PV mobile readability and consent repairs: shared across landing and city pages. */
form[data-pv-demo-form] .pvcc-consent,
form[data-pv-demo-form] .pv-live-consent {
  display:block!important;position:relative!important;clear:both!important;
  width:100%!important;max-width:100%!important;height:auto!important;min-height:36px!important;
  margin:12px auto 10px!important;padding:8px 10px 8px 39px!important;
  box-sizing:border-box!important;color:#222!important;background:rgba(255,255,255,.92)!important;
  font:400 13px/1.5 Arial,Helvetica,sans-serif!important;
  text-align:left!important;white-space:normal!important;overflow-wrap:break-word!important;
}
form[data-pv-demo-form] .pvcc-consent input[type=checkbox],
form[data-pv-demo-form] .pv-live-consent input[type=checkbox] {
  position:absolute!important;left:10px!important;top:9px!important;
  width:19px!important;height:19px!important;min-width:19px!important;
  margin:0!important;padding:0!important;opacity:1!important;appearance:auto!important;
}
form[data-pv-demo-form] .pvcc-consent a,
form[data-pv-demo-form] .pv-live-consent a {
  display:inline!important;color:#095cbd!important;font:inherit!important;text-decoration:underline!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
}
form[data-pv-demo-form] .pv-form-status:not([hidden]){clear:both!important;display:block!important;max-width:100%;overflow-wrap:anywhere}
@media(max-width:768px){
  .es4_bg,.b-sms_bg{height:auto!important;overflow:visible!important;padding-bottom:36px!important;box-sizing:border-box!important}
  .es4_bg form[data-pv-demo-form],.b-sms_bg form[data-pv-demo-form]{display:flow-root!important;height:auto!important;max-width:100%!important;box-sizing:border-box!important}
  .es4_bg form[data-pv-demo-form] .pvcc-consent,.b-sms_bg form[data-pv-demo-form] .pvcc-consent{max-width:380px!important;margin-top:18px!important}
  .es2 .es2_block .es2_oknatseny{box-sizing:border-box!important;max-width:100%!important}
  .es2 .es2_block .es2_oknatseny .es2_oknatseny__zag{box-sizing:border-box!important;max-width:calc(100% + 4px)!important}
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_tsena,
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,auto)!important;
    align-items:center!important;column-gap:10px!important;box-sizing:border-box!important;
    height:auto!important;min-height:57px!important;padding:8px 12px!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_tsena .es2_oknatseny_left,
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_left{
    float:none!important;width:auto!important;height:auto!important;min-width:0!important;
    padding:0!important;margin:0!important;line-height:1.25!important;font-size:15px!important;
    text-align:left!important;overflow-wrap:normal!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_left table{
    width:auto!important;height:auto!important;min-height:0!important;margin:0!important;table-layout:auto!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_left table td{
    padding:0!important;font-size:15px!important;line-height:1.3!important;white-space:normal!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_tsena .es2_oknatseny_right,
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_right{
    float:none!important;width:auto!important;height:auto!important;min-width:0!important;
    padding:0!important;margin:0!important;line-height:1.2!important;text-align:right!important;
    font-size:20px!important;white-space:nowrap!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_tsena .es2_oknatseny_right.es2_red,
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_right.es2_red{font-size:31px!important}
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_right_stars{
    display:flex!important;justify-content:flex-end!important;align-items:center!important;
    gap:3px!important;width:auto!important;margin:0!important;
  }
  .es2 .es2_block .es2_oknatseny .es2_oknatseny_row .es2_oknatseny_row_right_stars img{
    width:19px!important;height:auto!important;max-width:19px!important;margin:0!important;
  }
  .modal .modal-body form[data-pv-demo-form],.modal-bg form[data-pv-demo-form]{
    width:100%!important;max-width:100%!important;height:auto!important;box-sizing:border-box!important;
  }
  .modal .modal-content,.modal-bg .modal-content{overflow-y:auto!important;overscroll-behavior:contain!important}
  form[data-pv-demo-form] .pvcc-consent{font-size:13px!important}
}


/* Gift modal — responsive production layout. No changes to form submission. */
#gift .modal-dialog{
  width:min(520px,calc(100vw - 26px))!important;
  max-width:520px!important;
  height:auto!important;min-height:0!important;
  max-height:calc(100dvh - 24px)!important;
  margin:12px auto!important;overflow-y:auto!important;
  box-sizing:border-box!important;
  background:url("/img/gift/bg.png") no-repeat center top #fff!important;
  background-size:100% auto!important;border-radius:8px!important
}
#gift .modal-content{
  width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;
  border:0!important;background:transparent!important;
  box-shadow:none!important;overflow:visible!important
}
#gift .modal-header{
  position:relative!important;min-height:0!important;
  padding:0!important;border:0!important
}
#gift .modal-header .close{
  top:6px!important;right:6px!important;z-index:8!important;
  max-width:42px!important;max-height:42px!important;
  background:transparent!important
}
#gift .modal-header .close img{max-width:100%!important;height:auto!important}
#gift .modal-body{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;
  padding:32px 24px 24px!important;overflow:visible!important
}
#gift .modal_zag{
  width:100%!important;max-width:100%!important;
  margin:0 auto clamp(175px,20vw,238px)!important;
  font-size:clamp(28px,3.5vw,48px)!important;
  font-weight:800!important;line-height:1.03!important;
  text-align:center!important;overflow-wrap:normal!important
}
#gift .madal_t1,#gift .madal_t2{
  width:100%!important;max-width:100%!important;
  margin:0 auto 6px!important;
  text-align:center!important;
  font-size:clamp(16px,2vw,24px)!important;
  line-height:1.15!important;
  overflow-wrap:break-word!important
}
#gift .madal_t2{margin-bottom:14px!important}
#gift .modal_form_gift{
  box-sizing:border-box!important;
  width:100%!important;max-width:390px!important;
  margin:0 auto!important;padding:0!important
}
#gift form[data-pv-demo-form]{
  display:flex!important;flex-direction:column!important;
  box-sizing:border-box!important;align-items:stretch!important;
  gap:0!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important
}
#gift form[data-pv-demo-form] .modal_input_ema{
  order:0!important;width:100%!important;max-width:390px!important;
  box-sizing:border-box!important;height:55px!important;
  margin:0 auto!important;
  background-size:100% 100%!important
}
#gift form[data-pv-demo-form] .modal_input_ema input[type=tel]{
  display:block!important;box-sizing:border-box!important;
  width:calc(100% - 30px)!important;max-width:100%!important;
  height:34px!important;margin:10px 15px!important;
  padding:0!important;line-height:34px!important
}
#gift form[data-pv-demo-form] label.pv-gift-consent-fixed{
  order:1!important;display:flex!important;flex-direction:row!important;
  align-items:flex-start!important;gap:8px!important;
  clear:both!important;float:none!important;
  position:relative!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:18px!important;
  margin:8px auto 13px!important;padding:0!important;
  border:0!important;box-shadow:none!important;background:transparent!important;
  box-sizing:border-box!important;text-align:left!important;
  font:400 12px/1.35 Arial,Helvetica,sans-serif!important;color:#202020!important
}
#gift form[data-pv-demo-form] label.pv-gift-consent-fixed input[type=checkbox]{
  position:static!important;top:auto!important;left:auto!important;
  flex:0 0 16px!important;width:16px!important;min-width:16px!important;
  height:16px!important;margin:1px 0 0!important;
  padding:0!important;opacity:1!important;appearance:auto!important
}
#gift form[data-pv-demo-form] label.pv-gift-consent-fixed .pv-gift-consent-copy{
  display:inline!important;flex:1 1 auto!important;min-width:0!important;
  overflow-wrap:break-word!important;white-space:normal!important
}
#gift form[data-pv-demo-form] label.pv-gift-consent-fixed a{
  font:inherit!important;display:inline!important;
  color:#085bb9!important;text-decoration:underline!important;
  overflow-wrap:break-word!important;white-space:normal!important
}
#gift form[data-pv-demo-form] .gift_but{
  order:2!important;clear:both!important;
  width:100%!important;max-width:100%!important;
  height:auto!important;margin:0 auto!important;padding:0!important;
  position:relative!important;text-align:center!important
}
#gift form[data-pv-demo-form] .gift_but img{
  max-width:100%!important;width:auto!important;height:auto!important
}
#gift form[data-pv-demo-form] .pv-form-status{
  order:3!important;width:100%!important;max-width:100%!important;
  margin:8px auto 0!important;box-sizing:border-box!important
}
@media(max-width:767px){
  #gift .modal-dialog{width:min(380px,calc(100vw - 22px))!important;margin:10px auto!important}
  #gift .modal-body{padding:24px 16px 20px!important}
  #gift .modal_zag{font-size:clamp(26px,6.8vw,40px)!important;margin-bottom:clamp(145px,43vw,205px)!important}
  #gift .madal_t1,#gift .madal_t2{font-size:clamp(16px,4.4vw,21px)!important}
  #gift .modal_form_gift{max-width:100%!important}
  #gift form[data-pv-demo-form] label.pv-gift-consent-fixed{font-size:12px!important;margin:8px 0 12px!important}
}


/* P2.1: gift-on-measure popup — leave a readable gap below phone field. */
#kupitDeshevle .modal_man_form form[data-pv-demo-form]{
  display:flex!important; flex-direction:column!important; align-items:stretch!important;
  width:100%!important; max-width:350px!important; height:auto!important;
  margin:0!important; padding:0!important; gap:0!important; box-sizing:border-box!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > .modal_input_name{
  order:0!important; flex:none!important; max-width:100%!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > .modal_input_tel{
  order:1!important; flex:none!important; max-width:100%!important;
  margin:0 0 0!important; position:relative!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pvcc-consent,
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pv-live-consent{
  order:2!important; flex:none!important; display:block!important;
  width:100%!important; max-width:100%!important;
  height:auto!important; min-height:18px!important; clear:both!important;
  position:relative!important; float:none!important; box-sizing:border-box!important;
  margin:13px 0 14px!important; padding:0 0 0 23px!important;
  border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; color:#292929!important;
  font:400 12px/1.4 Arial,Helvetica,sans-serif!important;
  text-align:left!important; white-space:normal!important; overflow-wrap:break-word!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pvcc-consent input[type=checkbox],
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pv-live-consent input[type=checkbox]{
  position:absolute!important; left:0!important; top:1px!important;
  width:17px!important; min-width:17px!important; height:17px!important;
  padding:0!important; margin:0!important; opacity:1!important; appearance:auto!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > label a{
  display:inline!important; color:#075eb6!important;
  font:inherit!important; white-space:normal!important; overflow-wrap:break-word!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > .modal_hochu_but{
  order:3!important; display:block!important; max-width:100%!important;
  height:auto!important; margin:0 auto 0!important; align-self:center!important;
}
#kupitDeshevle .modal_man_form form[data-pv-demo-form] > .pv-form-status{
  order:4!important; max-width:100%!important; margin:8px 0 0!important;
}
@media(max-width:480px){
  #kupitDeshevle .modal_man_form form[data-pv-demo-form]{
    max-width:min(260px,100%)!important; margin:0 auto!important;
  }
  #kupitDeshevle .modal_man_form form[data-pv-demo-form] > .modal_input_name,
  #kupitDeshevle .modal_man_form form[data-pv-demo-form] > .modal_input_tel{
    width:100%!important; max-width:260px!important;
  }
  #kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pvcc-consent,
  #kupitDeshevle .modal_man_form form[data-pv-demo-form] > label.pv-live-consent{
    font-size:11px!important; margin:12px 0 14px!important;
  }
}

