/* Мобильная панель быстрой связи С-Газ (4 кнопки: Позвонить, MAX, Telegram, WhatsApp) */
.sgaz-mob-bar{display:none}
@media (max-width:768px){
  body{padding-bottom:76px !important}
  .sgaz-mob-bar{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:6px;
    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:7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
    font-family:'Manrope',Arial,sans-serif;
    box-sizing:border-box;
  }
  .sgaz-mob-btn{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    height:52px;
    padding:4px 2px;
    border-radius:12px;
    text-decoration:none !important;
    font-size:11px;
    font-weight:700;
    line-height:1;
    letter-spacing:-.01em;
    color:#ffffff !important;
    box-sizing:border-box;
    white-space:nowrap;
    -webkit-tap-highlight-color:transparent;
  }
  .sgaz-mob-btn svg{width:19px;height:19px;flex-shrink:0}
  .sgaz-mob-call{background:#0e3a5f}
  .sgaz-mob-max{background:linear-gradient(135deg,#4f46e5,#7c3aed)}
  .sgaz-mob-tg{background:#229ED9}
  .sgaz-mob-wa{background:#25D366}
  .amo-button-holder,#amo_social_button,.amo-livechat-button{bottom:80px !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}

/* Чекбокс согласия 152-ФЗ для всех форм (калькуляторы, каталог, штатные формы Tilda) */
.sgaz-pdn-box{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin:10px 0 8px;
  text-align:left;
  font-size:12.5px;
  line-height:1.38;
  cursor:pointer;
  user-select:none;
}
.sgaz-pdn-box input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  margin:1px 0 0 !important;
  padding:0 !important;
  border-radius:4px !important;
  accent-color:#f59e0b;
  cursor:pointer;
  flex-shrink:0;
}
.sgaz-pdn-box a{color:inherit;text-decoration:underline}
#sgaz-calc-install .sgaz-pdn-box{color:#0e3a5f;margin:14px 0 12px !important;padding:0 !important}
#sgaz-calc-gas .sgaz-pdn-box{color:rgba(255,255,255,.92);margin:14px 0 12px !important;padding:0 !important}
#sgaz-cat-modal .sgaz-pdn-box{color:#475569;margin:14px 0 14px !important;padding:0 !important}
.sgaz-tform-pdn{
  margin:18px 0 16px !important;
  padding:10px 12px;
  border-radius:8px;
  background:rgba(14,58,95,.05);
  border:1px solid rgba(14,58,95,.14);
  font-family:'Manrope',Arial,sans-serif;
}
.sgaz-tform-pdn.is-dark{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.24);
  color:#ffffff !important;
}
.sgaz-tform-pdn.is-dark .sgaz-pdn-box{color:#ffffff !important}
.sgaz-tform-pdn.is-light{color:#0e3a5f !important}
.sgaz-tform-pdn.is-light .sgaz-pdn-box{color:#0e3a5f !important}
.sgaz-tform-pdn.is-err{
  border-color:#dc2626 !important;
  box-shadow:0 0 0 2px rgba(220,38,38,.18);
}
.sgaz-tform-pdn-err{
  display:none;
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:#dc2626;
}
.sgaz-tform-pdn.is-dark .sgaz-tform-pdn-err{color:#fecaca}
.sgaz-tform-pdn.is-err .sgaz-tform-pdn-err{display:block}

/* 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 */

/* === Шапка T1272 (div[id^="rec"][data-record-type="1272"]): 1 строка на десктопе + аккуратная шторка Вариант 1 на мобильном === */
@media screen and (min-width:961px){
  div[id^="rec"][data-record-type="1272"] .t-menu-base__maincontainer{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    padding:8px 20px !important;
    min-height:66px !important;
    box-sizing:border-box !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__logowrapper{
    flex-shrink:0 !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__imglogo{
    width:78px !important;
    max-width:78px !important;
    height:auto !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__leftwrapper{
    flex:1 1 auto !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:15px !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list-item{
    padding:0 !important;
    margin:0 !important;
    white-space:nowrap !important;
    flex-shrink:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] a.t-menu__link-item{
    font-size:14.5px !important;
    font-weight:600 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__rightwrapper{
    flex-shrink:0 !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__additionalwrapper{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-sociallinks__wrapper{
    display:flex !important;
    align-items:center !important;
    gap:5px !important;
    font-size:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-sociallinks__item{margin:0 !important}
  div[id^="rec"][data-record-type="1272"] .t-sociallinks__item a,
  div[id^="rec"][data-record-type="1272"] .t-sociallinks__svg{
    width:26px !important;
    height:26px !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-btnflex.t-btnflex_type_button{
    font-size:14.5px !important;
    padding:9px 14px !important;
    white-space:nowrap !important;
  }
}
@media screen and (min-width:1360px){
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list{gap:20px !important}
  div[id^="rec"][data-record-type="1272"] a.t-menu__link-item{font-size:15.5px !important}
  div[id^="rec"][data-record-type="1272"] .t-btnflex.t-btnflex_type_button{font-size:15px !important;padding:10px 16px !important}
}
@media screen and (min-width:961px) and (max-width:1180px){
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list{gap:10px !important}
  div[id^="rec"][data-record-type="1272"] a.t-menu__link-item{font-size:13px !important}
  div[id^="rec"][data-record-type="1272"] .t-sociallinks{display:none !important}
  div[id^="rec"][data-record-type="1272"] .t-btnflex.t-btnflex_type_button{font-size:13px !important;padding:8px 12px !important}
}
@media screen and (max-width:960px){
  div[id^="rec"][data-record-type="1272"] .tmenu-mobile{
    border-bottom:1px solid rgba(14,58,95,.10) !important;
    box-shadow:0 2px 10px rgba(14,58,95,.06) !important;
  }
  div[id^="rec"][data-record-type="1272"] .tmenu-mobile__container{
    min-height:58px !important;
    height:58px !important;
    padding:8px 16px !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__imglogo{
    max-width:66px !important;
    width:66px !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menuburger.t-menuburger-opened .t-menu-burger__icon span:nth-child(1),
  div[id^="rec"][data-record-type="1272"] .t-menuburger.t-menuburger-opened .t-menu-burger__icon span:nth-child(4){
    opacity:0 !important;
    transform:scaleX(0) !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menuburger.t-menuburger-opened .t-menu-burger__icon span:nth-child(2){
    transform:rotate(45deg) !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menuburger.t-menuburger-opened .t-menu-burger__icon span:nth-child(3){
    transform:rotate(-45deg) !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base.tmenu-mobile__menucontent_fixed{
    top:58px !important;
    bottom:0 !important;
    height:calc(100vh - 58px) !important;
    background-color:#f7f8fa !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__maincontainer{
    padding:10px 20px 96px !important;
    min-height:100% !important;
    box-sizing:border-box !important;
    align-items:stretch !important;
    text-align:left !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__leftwrapper{
    width:100% !important;
    text-align:left !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list-item{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border-bottom:1px solid rgba(14,58,95,.10) !important;
    text-align:left !important;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__list-item:last-child{border-bottom:none !important}
  div[id^="rec"][data-record-type="1272"] .t-menu__link-wrapper{width:100% !important}
  div[id^="rec"][data-record-type="1272"] a.t-menu__link-item{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    padding:15px 4px !important;
    font-size:17px !important;
    font-weight:600 !important;
    color:#0e3a5f !important;
    text-align:left !important;
    box-sizing:border-box !important;
  }
  div[id^="rec"][data-record-type="1272"] a.t-menu__link-item::after{
    content:"›";
    font-size:22px;
    font-weight:400;
    color:rgba(14,58,95,.42);
    line-height:1;
    margin-left:12px;
  }
  div[id^="rec"][data-record-type="1272"] .t-menu-base__rightwrapper{display:none !important}
}

/* Региональная таблица ориентиров доставки газа на /zapravka */
.sgaz-seo-tariffs{
  max-width:1060px;
  margin:28px auto 0;
  background:#ffffff;
  border:1px solid #DCE8E0;
  border-radius:20px;
  padding:26px 28px;
  font-family:'Manrope','Segoe UI',system-ui,sans-serif;
  color:#16303F;
  box-sizing:border-box;
}
.sgaz-seo-tariffs h3{
  margin:0 0 8px;
  font-size:22px;
  font-weight:800;
  color:#0E3A5F;
  line-height:1.25;
}
.sgaz-seo-tariffs p{
  margin:0 0 16px;
  font-size:14px;
  color:#5C7383;
  line-height:1.45;
}
.sgaz-seo-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.sgaz-seo-table{
  width:100%;
  border-collapse:collapse;
  font-size:14.5px;
  min-width:540px;
}
.sgaz-seo-table th{
  text-align:left;
  padding:11px 12px;
  background:#F4F7FA;
  color:#0E3A5F;
  font-weight:700;
  border-bottom:2px solid #DCE8E0;
}
.sgaz-seo-table td{
  padding:11px 12px;
  border-bottom:1px solid #E8EFF4;
  color:#16303F;
}
.sgaz-seo-table tr:last-child td{border-bottom:none}
.sgaz-seo-table .num{text-align:right;white-space:nowrap}
.sgaz-seo-table .hi{font-weight:800;color:#0E3A5F}
@media (max-width:760px){
  .sgaz-seo-tariffs{padding:18px 16px;margin-top:20px}
  .sgaz-seo-tariffs h3{font-size:18.5px}
  .sgaz-seo-table{font-size:13.5px}
}
