.oe-site-header,
.oe-site-footer,
.oe-legal,
.oe-cookie-notice {
  font-family: var(--t-text-font, Arial), Arial, sans-serif;
}

.oe-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 50px;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 1px 5px rgba(62, 71, 88, 0.1);
}

.oe-site-header__inner {
  position: relative;
  min-height: 50px;
  padding: 0 18px 0 0;
}

.oe-site-header__collapse {
  min-height: 50px;
}

.oe-site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 238px;
  margin: 0;
  padding: 0;
}

.oe-site-brand__element,
.oe-site-brand__rehau,
.oe-footer-logo img {
  display: block;
  height: auto;
}

.oe-site-brand__divider {
  width: 1px;
  height: 44px;
  background: #aaaaaa;
}

.oe-site-topnav {
  align-items: center;
  gap: 34px;
  margin: 0 auto;
}

.oe-site-topnav .nav-link {
  padding: 13px 0 12px;
  color: #12151b !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.oe-site-topnav .nav-link:hover,
.oe-site-topnav .nav-link:focus {
  color: #12151b !important;
}

.oe-site-topnav .dropdown-toggle::after {
  display: none;
}

.oe-site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  white-space: nowrap;
}

.oe-site-header__phone {
  color: #12151b !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.oe-site-header__phone:hover,
.oe-site-header__phone:focus {
  color: #12151b !important;
}

.oe-site-header__callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  height: 32px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: #0a9b72;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.oe-site-header__callback:hover,
.oe-site-header__callback:focus {
  background: #0b8d69;
  color: #ffffff !important;
}

.oe-site-dropdown {
  position: static;
}

.oe-mega-menu {
  top: 100%;
  left: 50%;
  width: min(1040px, calc(100vw - 40px));
  min-width: 0;
  margin-top: 0;
  padding: 42px 14px 22px;
  transform: translateX(-50%);
  background: #ffffff;
  border: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: none;
}

.oe-mega-menu__grid {
  min-height: 164px;
}

.oe-mega-menu__column {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 156px;
  padding: 0 14px;
}

.oe-menu-link,
.oe-footer-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.oe-menu-link {
  color: #000000 !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.05;
}

.oe-menu-link--strong {
  font-weight: 700;
}

.oe-menu-link:hover,
.oe-menu-link:focus,
.oe-footer-link:hover,
.oe-footer-link:focus {
  color: #13a10e !important;
}

@media (min-width: 992px) {
  .oe-site-brand,
  .oe-site-header__actions {
    position: relative;
    z-index: 2;
  }

  .oe-site-topnav {
    position: absolute;
    top: 0;
    left: 50%;
    justify-content: center;
    min-height: 50px;
    margin: 0;
    transform: translateX(-50%);
    z-index: 1;
  }

  .oe-site-dropdown:hover > .dropdown-menu,
  .oe-site-dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

.oe-site-toggler {
  margin-left: auto;
  border: 0;
  box-shadow: none !important;
}

.oe-site-footer {
  margin: 0;
  padding: 38px 0 36px;
  background: #1e1e1e;
  color: #ffffff;
}

.oe-site-footer__inner {
  max-width: 1040px;
}

.oe-site-footer__top {
  margin-bottom: 44px;
}

.oe-footer-actions {
  padding-top: 0;
}

.oe-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 41px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 400;
}

.oe-footer-btn--light {
  background: #ffffff;
  color: #000000 !important;
}

.oe-footer-btn--green {
  background: #0a9b72;
  color: #ffffff !important;
}

.oe-footer-btn--light:hover,
.oe-footer-btn--light:focus {
  background: #f4f4f4;
  color: #000000 !important;
}

.oe-footer-btn--green:hover,
.oe-footer-btn--green:focus {
  background: #0b8d69;
  color: #ffffff !important;
}

.oe-site-footer__menu {
  row-gap: 28px;
}

.oe-footer-column,
.oe-footer-contacts {
  display: grid;
  align-content: start;
  gap: 6px;
}

.oe-footer-link {
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.05;
}

.oe-footer-link.oe-menu-link--strong {
  font-weight: 700;
}

.oe-footer-contacts {
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
}

.oe-footer-contacts p {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
}

.oe-footer-contacts strong {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.1;
}

.oe-footer-caption {
  color: #8f9aa5;
  font-size: 10px;
  line-height: 1.1;
}

.oe-footer-phone {
  margin-bottom: 8px;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.oe-footer-phone:hover,
.oe-footer-phone:focus {
  color: #ffffff !important;
}

.oe-site-footer__bottom {
  margin-top: 12px;
  row-gap: 24px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
}

.oe-site-footer__bottom p {
  margin: 0;
}

.oe-footer-legal {
  align-items: flex-end;
}

.oe-footer-legal a {
  color: #ffffff !important;
  text-decoration: none;
}

.oe-footer-legal a:hover,
.oe-footer-legal a:focus {
  color: #13a10e !important;
}

.oe-legal-page {
  margin: 0;
  background: #f6f8f4;
  color: #111712;
}

.oe-legal {
  padding: 70px 0 86px;
}

.oe-legal__hero {
  max-width: 880px;
  margin-bottom: 34px;
}

.oe-legal__eyebrow {
  margin: 0 0 10px;
  color: #0b7b25;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.oe-legal__hero h1 {
  margin: 0 0 16px;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.08;
}

.oe-legal__hero p {
  margin: 0 0 12px;
  color: #5e6b65;
  font-size: 18px;
  line-height: 1.55;
}

.oe-legal__hero span {
  color: #5e6b65;
  font-size: 13px;
  font-weight: 700;
}

.oe-legal__layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.oe-legal__nav {
  position: sticky;
  top: 74px;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 45, 34, 0.07);
}

.oe-legal__nav a {
  display: block;
  padding: 10px 12px;
  color: #111712 !important;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.oe-legal__nav a:hover,
.oe-legal__nav a:focus,
.oe-legal__nav a.is-active {
  background: #eef4ec;
  color: #0b7b25 !important;
}

.oe-legal__content {
  display: grid;
  gap: 16px;
}

.oe-legal__content section {
  padding: 26px;
  background: #ffffff;
  border: 1px solid #dce4dd;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(24, 45, 34, 0.06);
}

.oe-legal__content h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.oe-legal__content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.oe-legal__content li {
  color: #4f5b56;
  font-size: 16px;
  line-height: 1.55;
}

.oe-form-consent,
.t702__form-bottom-text.oe-form-consent,
.t-form__bottom-text.oe-form-consent {
  width: min(460px, 100%);
  margin: 12px auto 0 !important;
  color: #66746e !important;
  font-family: Inter, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.oe-form-consent a {
  color: #13a10e !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.oe-cookie-notice[hidden] {
  display: none !important;
}

.oe-cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2000;
  pointer-events: none;
}

.oe-cookie-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(960px, 100%);
  margin-left: auto;
  padding: 16px 18px;
  background: rgba(30, 30, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
  color: #ffffff;
  pointer-events: auto;
}

.oe-cookie-notice p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.oe-cookie-notice__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.oe-cookie-notice__actions a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oe-cookie-notice__actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  background: #13a10e;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.oe-cookie-notice__actions button:hover,
.oe-cookie-notice__actions button:focus {
  background: #0b8d69;
}

@media (max-width: 1199px) {
  .oe-site-topnav {
    gap: 24px;
  }

  .oe-site-topnav .nav-link {
    font-size: 17px;
  }

  .oe-site-header__actions {
    gap: 10px;
  }

  .oe-site-header__phone {
    font-size: 13px;
  }

  .oe-site-header__callback {
    min-width: 126px;
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 991px) {
  .oe-site-header__inner {
    padding: 0 12px;
  }

  .oe-site-header__collapse {
    min-height: 0;
    padding-bottom: 12px;
  }

  .oe-site-brand {
    min-width: 0;
  }

  .oe-site-brand__element {
    width: 82px;
  }

  .oe-site-brand__rehau {
    width: 104px;
  }

  .oe-site-topnav {
    position: static;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 0;
    transform: none;
  }

  .oe-site-topnav .nav-link {
    padding: 10px 0;
    font-size: 16px;
    text-decoration: none;
  }

  .oe-mega-menu {
    position: static;
    width: 100%;
    padding: 14px 0;
    transform: none;
    box-shadow: none;
  }

  .oe-mega-menu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .oe-mega-menu__column {
    padding: 0;
  }

  .oe-site-header__actions {
    align-items: flex-start;
    gap: 10px;
    margin: 0;
  }

  .oe-site-header__phone {
    font-size: 15px;
  }

  .oe-site-header__callback {
    min-width: 170px;
  }

  .oe-legal {
    padding: 48px 0 64px;
  }

  .oe-legal__layout {
    grid-template-columns: 1fr;
  }

  .oe-legal__nav {
    position: static;
  }
}

@media (max-width: 575px) {
  .oe-site-brand__divider,
  .oe-site-brand__rehau {
    display: none;
  }

  .oe-mega-menu__grid {
    grid-template-columns: 1fr;
  }

  .oe-site-footer {
    padding: 30px 0;
  }

  .oe-footer-actions {
    width: 100%;
  }

  .oe-footer-btn {
    flex: 1 1 132px;
  }

  .oe-legal__hero h1 {
    font-size: 32px;
  }

  .oe-legal__hero p {
    font-size: 16px;
  }

  .oe-legal__content section {
    padding: 20px;
  }

  .oe-legal__content h2 {
    font-size: 21px;
  }

  .oe-cookie-notice {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .oe-cookie-notice__inner {
    display: grid;
    gap: 14px;
    padding: 15px;
  }

  .oe-cookie-notice__actions {
    justify-content: space-between;
  }

  .oe-cookie-notice__actions button {
    flex: 0 0 auto;
  }
}
