/* Build-specific repair: preserve the archived header and two-column desktop layout. */
.header .topmenu.dr-navigation .dr-menu > li > a {
  color: #fff !important;
  text-shadow: 0 1px 1px #000;
}
.header .topmenu.dr-navigation .dr-menu > li > a:hover,
.header .topmenu.dr-navigation .dr-menu > li > a:focus-visible {
  background: #f76c03 !important;
  color: #fff !important;
  text-shadow: none;
}
.dr-generated-contact-photo {
  width: 400px;
  max-width: 100%;
  margin: 0 0 12px 18px;
  float: right;
  background: #eee;
}
.dr-generated-contact-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 801px) {
  body .header .topmenu.dr-navigation:not([data-dr-layout]) {
    position: absolute !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 250px !important;
    width: auto !important;
    padding: 0 !important;
  }
  .header .topmenu.dr-navigation > .dr-menu {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  .header .topmenu.dr-navigation .dr-menu > li > a {
    min-height: 43px !important;
    padding: 9px 10px !important;
    font-size: 16px !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 800px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .header {
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px 12px 10px !important;
    background: linear-gradient(#080808, #303030) !important;
    border-bottom: 6px solid #f76c03;
  }
  .header #top {
    position: static !important;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
  }
  .header #top img { display: block; max-width: min(233px, 100%); height: auto; }
  .header #top_veta {
    position: static !important;
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
  }
  body .header .topmenu.dr-navigation:not([data-dr-layout]) {
    position: static !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .header .topmenu.dr-navigation > .dr-mobile-toggle {
    display: block !important;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    padding: 8px 14px;
    border: 0;
    border-radius: 5px;
    background: #f76c03;
    color: #fff;
    font: 400 17px/1.3 "Open Sans", Arial, sans-serif;
    text-align: left;
    cursor: pointer;
  }
  .header .topmenu.dr-navigation > .dr-menu { display: none !important; }
  .header .topmenu.dr-navigation.dr-open > .dr-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
  }
  .header .topmenu.dr-navigation .dr-menu > li { width: 100% !important; }
  .header .topmenu.dr-navigation .dr-menu > li > a {
    min-height: 40px !important;
    padding: 9px 14px !important;
    font-size: 16px !important;
    text-align: left;
    background: #252525;
    border-bottom: 1px solid #464646 !important;
  }
  .all_all, .all_o, .all_i, .content_all, .content_all2 {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .all_all { background: #fff !important; }
  .content_all2 {
    display: flex;
    flex-direction: column;
    background: #fff !important;
  }
  .content_o, .leftmenu {
    box-sizing: border-box;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .content_o { order: 1; padding: 16px !important; }
  .leftmenu { order: 2; padding: 10px 16px; background: #f7f8f4 !important; }
  .leftmenu2 { max-width: 400px; margin: 0 auto; }
  .leftmenu2 h2 { margin-left: 0; padding-left: 16px; background-position: left center; }
  .content_o .perex { box-sizing: border-box; width: 100% !important; }
  .content_o img, .content_o table, .content_o textarea,
  .content_o input, .content_o .iodst, .content_o .vi_obal_o {
    box-sizing: border-box;
    max-width: 100% !important;
  }
  .content_o .iodst { float: none !important; margin: 8px auto !important; }
  .content_o .vi_obal_o { float: none; width: 100% !important; }
  .content_o .formular table { display: block; width: 100%; }
  .content_o .formular tbody { display: block; width: 100%; }
  .content_o .formular tr { display: block; margin: 0 0 8px; }
  .content_o .formular td { display: block; width: 100%; text-align: left; }
  .content_o .formular input, .content_o .formular textarea { float: none; width: 100%; }
  .dr-generated-contact-photo { float: none; width: 100%; margin: 10px 0 16px; }
  .footer_o, .footer_i { box-sizing: border-box; width: 100% !important; max-width: 100% !important; }
}
