/* Мобильная панель быстрой связи С-Газ */
.sgaz-mob-bar,.sgaz-mob-menu{display:none}
@media (max-width:768px){
  body{padding-bottom:74px !important}
  .sgaz-mob-bar{
    display:grid;
    grid-template-columns:1fr 1fr 1.1fr;
    gap:8px;
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:9990;
    background:#ffffff;
    border-top:1px solid rgba(14,58,95,.12);
    box-shadow:0 -4px 20px rgba(14,58,95,.14);
    padding:8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    font-family:'Manrope',Arial,sans-serif;
  }
  .sgaz-mob-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    height:46px;
    border-radius:12px;
    text-decoration:none !important;
    font-size:13.5px;
    font-weight:700;
    line-height:1;
    color:#ffffff !important;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
  }
  .sgaz-mob-btn svg{width:17px;height:17px;flex-shrink:0}
  .sgaz-mob-call{background:#0e3a5f}
  .sgaz-mob-max{background:linear-gradient(135deg,#4f46e5,#7c3aed)}
  .sgaz-mob-calc{background:#f59e0b;color:#0e3a5f !important;border:0;padding:0;cursor:pointer;font-family:inherit}
  .sgaz-mob-menu{
    position:fixed;
    right:10px;
    bottom:calc(70px + env(safe-area-inset-bottom, 0px));
    width:min(280px, calc(100vw - 20px));
    z-index:9995;
    background:#ffffff;
    border:1px solid rgba(14,58,95,.14);
    border-radius:16px;
    box-shadow:0 12px 32px rgba(14,58,95,.22);
    padding:10px;
    font-family:'Manrope',Arial,sans-serif;
    box-sizing:border-box;
  }
  .sgaz-mob-menu.is-open{display:flex;flex-direction:column;gap:8px}
  .sgaz-mob-menu-title{
    font-size:12px;
    font-weight:700;
    color:#5b7186;
    text-transform:uppercase;
    letter-spacing:.04em;
    padding:2px 6px 0;
  }
  .sgaz-mob-menu-item{
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:11px 12px;
    border-radius:12px;
    background:#f4f7fb;
    border:1px solid rgba(14,58,95,.10);
    text-decoration:none !important;
    box-sizing:border-box;
  }
  .sgaz-mob-menu-item:active{background:#e8f0fa}
  .sgaz-mob-menu-main{font-size:14.5px;font-weight:700;color:#0e3a5f !important;line-height:1.25}
  .sgaz-mob-menu-sub{font-size:12px;font-weight:500;color:#52697f !important;line-height:1.25}
  .amo-button-holder,#amo_social_button,.amo-livechat-button{bottom:76px !important}
}

/* Контраст быстрой формы на светлой карточке калькулятора установки ГГ */
#sgaz-calc-install .sci-qlabel{color:#0e3a5f !important}
#sgaz-calc-install .sci-qinput{border:2px solid rgba(14,58,95,.32) !important;color:#0e3a5f !important}
#sgaz-calc-install .sci-qinput:focus{border-color:#f59e0b !important}
#sgaz-calc-install .sci-formmsg{color:#0e3a5f !important}
#sgaz-calc-install .sci-formmsg.is-ok{color:#15803d !important}
#sgaz-calc-install .sci-formmsg.is-err{color:#b91c1c !important}

/* sgaz-cat-modal-start */
.sgaz-cat-backdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:2147483000 !important;
  background:rgba(10,28,46,.62);
  backdrop-filter:blur(3px);
  align-items:center;
  justify-content:center;
  padding:16px;
  box-sizing:border-box;
  font-family:'Manrope',Arial,sans-serif;
}
.sgaz-cat-backdrop.is-open{display:flex}
#sgaz-cat-modal [hidden]{display:none !important}
.sgaz-cat-dialog{
  position:relative;
  width:100%;
  max-width:440px;
  background:#ffffff;
  border-radius:18px;
  padding:26px 24px 22px;
  box-shadow:0 24px 60px rgba(10,28,46,.32);
  color:#0e3a5f;
  box-sizing:border-box;
}
.sgaz-cat-close{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  background:#f1f5f9;
  color:#0e3a5f;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sgaz-cat-close:hover{background:#e2e8f0}
.sgaz-cat-title{margin:0 36px 8px 0;font-size:22px;font-weight:800;line-height:1.2;color:#0e3a5f}
.sgaz-cat-sub{margin:0 0 14px;font-size:13.5px;color:#52697f;line-height:1.4}
.sgaz-cat-prod{
  background:#f4f7fb;
  border:1px solid rgba(14,58,95,.14);
  border-radius:12px;
  padding:10px 12px;
  margin-bottom:16px;
}
.sgaz-cat-prod-name{font-size:14.5px;font-weight:700;color:#0e3a5f;line-height:1.3}
.sgaz-cat-prod-price{margin-top:3px;font-size:13.5px;font-weight:700;color:#b45309}
.sgaz-cat-field{margin-bottom:12px}
.sgaz-cat-label{display:block;font-size:13px;font-weight:700;color:#0e3a5f;margin-bottom:6px}
.sgaz-cat-input{
  width:100%;
  box-sizing:border-box;
  padding:13px 14px;
  font-size:16px;
  font-family:inherit;
  font-weight:600;
  color:#0e3a5f;
  background:#ffffff;
  border:2px solid rgba(14,58,95,.22);
  border-radius:12px;
  outline:none;
  transition:border-color .15s;
}
.sgaz-cat-input:focus{border-color:#f59e0b}
.sgaz-cat-submit{
  width:100%;
  margin-top:4px;
  height:50px;
  border:0;
  border-radius:12px;
  background:#f59e0b;
  color:#0e3a5f;
  font-family:inherit;
  font-size:15.5px;
  font-weight:800;
  cursor:pointer;
  transition:filter .15s;
}
.sgaz-cat-submit:hover{filter:brightness(.96)}
.sgaz-cat-submit:disabled{opacity:.65;cursor:wait}
.sgaz-cat-msg{min-height:18px;margin-top:10px;font-size:13px;text-align:center;line-height:1.35}
.sgaz-cat-msg.is-ok{color:#15803d;font-weight:700}
.sgaz-cat-msg.is-err{color:#b91c1c;font-weight:600}
.sgaz-cat-note{margin:10px 0 0;font-size:11.5px;color:#64748b;text-align:center;line-height:1.35}
.sgaz-cat-note a{color:inherit;text-decoration:underline}
.sgaz-cat-success{text-align:center;padding:12px 4px 4px}
.sgaz-cat-ok-icon{
  width:56px;
  height:56px;
  border-radius:50%;
  background:#dcfce7;
  color:#15803d;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 14px;
}
.sgaz-cat-ok-icon svg{width:30px;height:30px}
.sgaz-cat-ok-title{margin:0 0 8px;font-size:22px;font-weight:800;line-height:1.2;color:#0e3a5f}
.sgaz-cat-ok-text{margin:0 0 14px;font-size:14.5px;color:#475569;line-height:1.45}
.sgaz-cat-ok-prod{
  background:#f4f7fb;
  border:1px solid rgba(14,58,95,.14);
  border-radius:12px;
  padding:10px 12px;
  margin:0 0 18px;
  font-size:13.5px;
  font-weight:700;
  color:#0e3a5f;
  line-height:1.35;
}
.sgaz-cat-ok-btn{
  width:100%;
  height:48px;
  border:0;
  border-radius:12px;
  background:#0e3a5f;
  color:#ffffff;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:filter .15s;
}
.sgaz-cat-ok-btn:hover{filter:brightness(1.08)}
.sgaz-cat-standalone-btn{display:inline-flex !important;align-items:center !important;justify-content:center !important;padding:12px 24px !important;margin:14px 0 18px !important;border:0 !important;border-radius:5px !important;background:#000000 !important;color:#ffffff !important;font-family:"Manrope",Arial,sans-serif !important;font-size:14px !important;font-weight:700 !important;line-height:1.2 !important;text-decoration:none !important;cursor:pointer !important;box-sizing:border-box !important}
.sgaz-cat-standalone-btn:hover{opacity:.88}
/* sgaz-cat-modal-end */
