/* Shared header/footer/mobile menu - all pages */
.form-consent {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-consent .home-request-form__form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-consent .form-consent__item {
  align-items: center;
  gap: 10px;
}

.form-consent a {
  color: #0F66FF;
  text-decoration: underline;
}

/* Consent checkboxes — visible on light and dark backgrounds */
.form-consent .home-request-form__form-check-input:checked {
  border-color: #0F66FF;
}

.form-consent .form-consent__item.custom-checkbox label {
  border: 1px solid #94969C;
  box-sizing: border-box;
  border-radius: 4px;
}

.form-consent .form-consent__item.custom-checkbox .custom-checkbox-input:checked ~ label {
  border-color: #0F66FF;
}

section.recall-section:not(.type-2) .form-consent .form-consent__item.custom-checkbox label,
.footer-request__bg .form-consent .form-consent__item.custom-checkbox label {
  border-color: rgba(255, 255, 255, 0.55);
}

.pdn-consent-modal .modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #262626;
  line-height: 1.3;
}

.pdn-consent-modal__body {
  font-size: 16px;
  line-height: 1.5;
  color: #141F2E;
}

.pdn-consent-modal__body p {
  margin: 0 0 16px;
}

.pdn-consent-modal__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.pdn-consent-modal__body li {
  margin-bottom: 8px;
}

.pdn-consent-modal__body a {
  color: #0F66FF;
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .hide-tab {
    display: none !important;
  }
}

.show-tab {
  display: none !important;
}
@media screen and (max-width: 1024px) {
  .show-tab {
    display: block !important;
  }
}

.flex-tab {
  display: none !important;
}
@media screen and (max-width: 1024px) {
  .flex-tab {
    display: flex !important;
  }
}
.mobile-menu {
  display: none;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: calc(100% - 60px);
    position: fixed;
    top: 60px;
    left: -110vw;
    background-color: #fff;
    z-index: 99;
    padding: 30px 0;
  }
  .mobile-menu.active {
    left: 0;
  }
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.mobile-menu__list__item .link {
  font-size: 18px;
  font-weight: 500;
  color: #2A2E39;
  cursor: pointer;
}
.mobile-menu__list__item .link:hover {
  color: #0F66FF;
}
.mobile-menu__list__item .link:hover path {
  fill: #0F66FF;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu {
  display: none;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu.active {
  display: block;
  padding-top: 15px;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu.active .link {
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu .subDropDown-mobile-menu {
  display: none;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu .subDropDown-mobile-menu.active {
  display: block;
  padding: 10px 0;
}
.mobile-menu__list__item.dropdownMobile .dropdownMobile-menu .subDropDown-mobile-menu.active .link {
  font-weight: 400;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.mobile-menu .social__list {
  display: flex;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 16px;
}
.mobile-menu .social__list__item {
  width: 40px;
  height: 40px;
}
.mobile-menu__btn {
  width: 177px;
  height: 60px;
  background-color: #0F66FF;
  border-radius: 16px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 1400px) {
  .mobile-menu__btn {
    font-size: 14px;
    width: 200px;
  }
}
@media screen and (max-width: 1200px) {
  .mobile-menu__btn {
    font-size: 12px;
    width: 150px;
  }
}

.header {
  position: fixed;
  width: 100%;
  z-index: 99;
  background-color: #fff;
}
.header__wrapper {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .header__wrapper {
    padding: 16px 0;
  }
}
.header__wrapper__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__wrapper__top .social__list {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.header__wrapper__top .social__list__item {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.header__wrapper__top .social__list__item img {
  width: 40px;
  height: 40px;
  display: block;
}
@media screen and (max-width: 1024px) {
  .header__wrapper__top {
    display: none;
  }
}
.header__wrapper__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
@media screen and (max-width: 1024px) {
  .header__wrapper__bottom {
    margin-top: 0;
  }
}
@media screen and (max-width: 1024px) {
  .header__wrapper__logo img {
    width: 82px;
  }
}
.header__wrapper__phone {
  margin-left: auto;
  margin-right: 32px;
}
.header__wrapper__phone a {
  font-size: 18px;
  font-weight: 500;
  color: #2A2E39;
  text-decoration: none;
  transition: all 0.3s ease;
}
.header__wrapper__phone a:hover {
  color: #0F66FF;
}
@media screen and (max-width: 1024px) {
  .header__wrapper__phone a {
    font-size: 16px;
  }
}
.header__wrapper__menu {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.header__wrapper__menu__item {
  list-style: none;
}
.header .link,
.header__wrapper__phone a {
  font-family: "Onest", sans-serif;
}
.header__wrapper__menu__item .link {
  font-size: 18px;
  font-weight: 500;
  color: #2A2E39;
  cursor: pointer;
}
.header__wrapper__menu__item .link:hover {
  color: #0F66FF;
}
.header__wrapper__menu__item .link:hover path {
  fill: #0F66FF;
}
@media screen and (max-width: 1400px) {
  .header__wrapper__menu__item .link {
    font-size: 14px;
    gap: 15px;
  }
}
@media screen and (max-width: 1200px) {
  .header__wrapper__menu__item .link {
    font-size: 12px;
  }
}
.header__wrapper__menu__item.dropdownMenu {
  position: relative;
}
.header__wrapper__menu__item.dropdownMenu:hover .dropdownMenu__menu {
  visibility: visible;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu {
  position: absolute;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: -moz-max-content;
  width: max-content;
  visibility: hidden;
  padding: 20px;
  background-color: #fff;
  list-style: none;
  margin: 0;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item {
  font-size: 18px;
  font-weight: 500;
  color: #2A2E39;
  cursor: pointer;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item a:hover {
  color: #0F66FF;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item a:hover path {
  fill: #0F66FF;
}
@media screen and (max-width: 1400px) {
  .header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item {
    font-size: 14px;
  }
}
@media screen and (max-width: 1200px) {
  .header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item {
    font-size: 12px;
  }
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item.subDropDown {
  position: relative;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item.subDropDown:hover .subDropDown__menu {
  visibility: visible;
}
.header__wrapper__menu__item.dropdownMenu .dropdownMenu__menu__item.subDropDown .subDropDown__menu {
  position: absolute;
  left: 100%;
  top: -20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: -moz-max-content;
  width: max-content;
  visibility: hidden;
  padding: 20px;
  background-color: #fff;
  list-style: none;
  margin: 0;
}
.header__wrapper__burgerBtn {
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
}
.header__wrapper__burgerBtn img {
  width: 24px;
  height: 24px;
  display: block;
}
.header__wrapper__menu .dropdown-menu.show {
  left: -17px !important;
}
.header__wrapper__btn {
  width: 177px;
  height: 60px;
  background-color: #0F66FF;
  border-radius: 16px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  border: 0;
}
@media screen and (max-width: 1400px) {
  .header__wrapper__btn {
    font-size: 14px;
    width: 200px;
  }
}
@media screen and (max-width: 1200px) {
  .header__wrapper__btn {
    font-size: 12px;
    width: 150px;
  }
}

.site-footer {
  background-color: #F6FAFF;
  padding-bottom: 48px;
}
@media screen and (max-width: 1024px) {
  .site-footer {
    padding-bottom: 24px;
  }
}
.footer__wrapper {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 40px 32px;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper {
    padding: 24px 16px;
  }
}
.footer__wrapper__contacts {
  display: flex;
  margin-bottom: 32px;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper__contacts {
    flex-direction: column;
  }
}
.footer__wrapper__contacts .logo {
  margin-left: 0;
  margin-right: 32px;
}
.footer__wrapper__contacts .menu {
  display: flex;
  gap: 48px;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper__contacts .menu {
    flex-direction: column;
    margin: 32px 0 24px;
    gap: 24px;
  }
}
.footer__wrapper__contacts .menu__main-menu, .footer__wrapper__contacts .menu__sub-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-height: 120px;
  flex-wrap: wrap;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper__contacts .menu__main-menu, .footer__wrapper__contacts .menu__sub-menu {
    flex-wrap: nowrap;
    max-height: none;
  }
}
.footer__wrapper__contacts .menu__main-menu__item, .footer__wrapper__contacts .menu__sub-menu__item {
  font-size: 16px;
  font-weight: 400;
  color: #2A2E39;
  cursor: pointer;
}
.footer__wrapper__contacts .menu__main-menu__item.collapsing, .footer__wrapper__contacts .menu__sub-menu__item.collapsing {
  position: relative;
}
.footer__wrapper__contacts .menu__main-menu__item .collapcing, .footer__wrapper__contacts .menu__sub-menu__item .collapcing {
  position: absolute;
}
.footer__wrapper__contacts .menu__main-menu__item .collapse, .footer__wrapper__contacts .menu__sub-menu__item .collapse {
  position: absolute;
}
.footer__wrapper__contacts .menu__main-menu__item .collapse__list__item, .footer__wrapper__contacts .menu__sub-menu__item .collapse__list__item {
  padding: 5px 0;
}
.footer__wrapper__contacts .menu__main-menu__item .collapse__list__item:last-child, .footer__wrapper__contacts .menu__sub-menu__item .collapse__list__item:last-child {
  padding-bottom: 0;
}
.footer__wrapper__contacts .social {
  margin-right: 0;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: end;
  height: auto;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper__contacts .social {
    align-items: center;
    margin: 0 auto;
  }
}
.footer__wrapper__contacts .social__btn {
  width: 207px;
  height: 57px;
  background-color: transparent;
  color: #0F66FF;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid #0F66FF;
  border-radius: 16px;
}
.footer__wrapper__contacts .social__list {
  display: flex;
  gap: 8px;
}
.footer__wrapper__contacts .social__list__item {
  width: 40px;
  height: 40px;
}
.footer__wrapper__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #D4D5D7;
}
@media screen and (max-width: 1024px) {
  .footer__wrapper__legal {
    flex-direction: column;
  }
}

/* Override legacy global img rule from style.css */
.header img,
.site-footer img,
.mobile-menu img {
  width: auto;
  height: auto;
  max-height: 100%;
}

.header__wrapper__logo img {
  width: 160px;
  max-width: 100%;
}

.container {
  max-width: 1456px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}

/* Offset fixed home-header on inner pages (two-row header + gap before breadcrumbs) */
main:not(.page-home) {
  padding-top: 230px;
  background: #ececec;
}

@media screen and (max-width: 1024px) {
  main:not(.page-home) {
    padding-top: 168px;
  }
}

section.advan,
section.article,
section.delivery,
section.description,
section.applying,
section.prices,
section.request,
section.stages,
section.realization,
section.tank,
section.bitrex,
section.news,
section.accord {
  background: white;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 16px 20px;
  z-index: 10000;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

html.cookie-banner-visible .cookie-banner {
  display: block;
}

.cookie-banner__inner {
  max-width: 1456px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  flex: 1 1 320px;
  color: #fff;
}

.cookie-banner__text a {
  color: #7eb6ff;
  text-decoration: underline;
}

.cookie-banner__text a:hover {
  color: #fff;
}

.cookie-banner__btn {
  flex-shrink: 0;
  display: inline-block;
  min-width: 140px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  background: #0F66FF;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: "Onest", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-banner__btn:hover {
  background: #0a52cc;
}

@media screen and (max-width: 768px) {
  .cookie-banner {
    padding: 10px 12px;
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .cookie-banner__text {
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
    flex: 1 1 auto;
  }

  .cookie-banner__btn {
    min-width: auto;
    width: auto;
    max-width: none;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
  }
}