/* Header corrections for laptop widths. */
@media (min-width: 1025px) and (max-width: 1320px) {
  #main-header .site-main-header-inner-wrap {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 92px;
    padding-inline: 18px;
  }

  #main-header .site-header-main-section-center {
    min-width: 0;
    justify-content: center;
  }

  #main-header .site-header-main-section-right { gap: 11px; }
  #main-header .site-header-item { margin-right: 0; }
  #main-header .custom-logo { width: 68px; height: 68px; }
  #main-header .site-title { font-size: 20px; white-space: nowrap; }
  #main-header .site-description { display: none; }
  #main-header #primary-menu { flex-wrap: nowrap; }

  #main-header .main-navigation .menu > li > a {
    padding-inline: 7px !important;
    font-size: 16px;
    white-space: nowrap;
  }

  #main-header .header-html { display: block !important; margin: 0 !important; }
  #main-header .header-phone { gap: 6px; }
  #main-header .header-phone__icon { width: 24px; height: 24px; flex-basis: 24px; }
  #main-header .header-phone__number { font-size: 14px; }
  #main-header .header-phone__schedule { font-size: 9px; }

  #main-header .header-button {
    padding: 12px 17px;
    color: #000 !important;
    font-size: 14px;
    background: #fcdd76 !important;
    border-color: #fcdd76 !important;
  }
}

@media (min-width: 1025px) and (max-width: 1160px) {
  #main-header .site-title-wrap { display: none; }
  #main-header .header-phone__schedule { display: none; }
}

.ug-mobile-contactbar { display: none; }

.ug-back-to-top {
  position: fixed;
  z-index: 9997;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #fff;
  background: #808000;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font: 700 25px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.ug-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.ug-back-to-top:hover { color: #000; background: #fcdd76; }
.ug-back-to-top:focus-visible { outline: 3px solid #fcdd76; outline-offset: 3px; }

@media (max-width: 1024px) {
  .ug-mobile-contactbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 20px 12px;
    background: #fff;
    border-top: 1px solid rgba(128, 128, 0, .12);
  }
  .ug-mobile-contactbar a { width: 100%; }
  .ug-back-to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }

  .ug-mobile-contactbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
    color: #696900;
    border: 2px solid #808000;
    border-radius: 999px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .ug-mobile-contactbar .ug-mobile-contactbar__book {
    color: #000;
    background: #fcdd76;
    border-color: #fcdd76;
  }
}

@media (max-width: 420px) {
  .ug-mobile-contactbar { padding-inline: 12px; }
}
