/* RDTEC desktop header refresh. Scoped to .v-header so legacy/mobile header is untouched. */
@media (min-width: 993px) {
  .v-header.header_parent {
    position: relative;
    z-index: 120;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
  }

  .v-header > .container { max-width: 1360px; }

  .v-header .header {
    padding-top: 14px;
    margin-left: -10px;
    margin-right: -10px;
    align-items: center;
  }

  .v-header .header > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }

  .v-header__logo a { width: max-content; }
  .v-header__logo a > img {
    height: 58px !important;
    max-width: 190px;
    transition: opacity .18s ease, transform .18s ease;
  }
  .v-header__logo a:hover > img { opacity: .82; transform: translateY(-1px); }

  .v-header__city { justify-content: flex-start; }
  .v-header .city_item { max-width: 100%; }
  .v-header .city_choice .city_select {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 34px 0 28px !important;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 600;
    transition: background .18s ease, border-color .18s ease;
  }
  .v-header .city_choice .city_select:hover { background:#f7f7f7; border-color:#ededed; }
  .v-header .city_choice .city_select:before { left: 8px; top: 50%; transform: translateY(-50%); }
  .v-header .city_choice .city_select:after { top: 50%; right: 10px; transform: translateY(-50%); }
  .v-header .city_choice .city_select span { padding: 0 !important; }

  .v-header__contact {
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    min-height: 58px;
  }
  .v-header__contact > a {
    color:#111;
    text-decoration:none;
    font-weight:700;
    line-height:1.2;
  }
  .v-header__contact > a span {
    display:block;
    margin-top:4px;
    color:#777;
    font-size:11px;
    font-weight:400;
  }
  .v-header__phone {
    position:relative;
    padding-left:27px;
    letter-spacing:-.2px;
  }
  .v-header__phone:before {
    content:'\f095';
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    font-family:'Font Awesome 5 Free';
    font-weight:900;
    font-size:15px;
  }
  .v-header__phone:hover { color:#555; }

  .v-header__search { display:flex; align-items:center; }
  .v-header__search .search_parent { width:100%; padding-left:0; }
  .v-header__search .search_parent form { position:relative; width:100%; }
  .v-header__search .search_parent input,
  .v-header__search .search_parent input[type="text"] {
    width:100% !important;
    height:46px;
    padding:0 50px 0 16px;
    border:1px solid #d7d7d7;
    border-radius:9px;
    background:#fff;
    box-shadow:none;
    font-size:14px;
    outline:none;
    transition:border-color .18s ease, box-shadow .18s ease;
  }
  .v-header__search .search_parent input:focus {
    border-color:#9d9d9d;
    box-shadow:0 0 0 3px rgba(0,0,0,.045);
  }
  .v-header__search .search_parent button[type="submit"] {
    position:absolute;
    right:0;
    top:0 !important;
    width:46px;
    height:46px;
    padding:0 !important;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:none;
    color:#111;
    border:0;
  }

  .v-header .second_line {
    margin-top:10px;
    position:relative;
  }
  .v-header .nav {
    height:54px;
    border-top:1px solid #f0f0f0;
    border-bottom:0;
    align-items:stretch;
  }
  .v-header__nav-main,
  .v-header__nav-links { display:flex; align-items:stretch; margin:0; }
  .v-header__nav-main { gap:2px; }
  .v-header .nav > ul > li { display:flex; align-items:stretch; }
  .v-header .nav > ul > li > a {
    height:53px !important;
    padding:0 15px !important;
    display:flex;
    align-items:center;
    font-size:15px !important;
    font-weight:500;
    color:#181818;
    border-radius:8px 8px 0 0 !important;
  }
  .v-header .nav > ul > li > a:hover { background:#f6f6f6; color:#000; }
  .v-header .nav > ul > li > a.catalog_nav_button { font-weight:700; gap:7px; }
  .v-header .nav > ul > li > a.catalog_nav_button svg { width:14px; height:14px; }

  .v-header__nav-links {
    align-self:stretch;
    background:#fff;
    border:0;
    border-radius: 0;
    overflow:hidden;
  }
  .v-header__nav-links > li + li { border-left:1px solid #e5e5e5; }
  .v-header__nav-links .tl_compare { min-width:58px; justify-content:center; gap:7px; }
  .v-header__nav-links i { font-size:17px; }

  .v-header .map_item_content {
    top:calc(100% - 1px);
    padding:12px !important;
    border:1px solid #e5e5e5;
    border-top:3px solid #feec00;
    border-radius:0 0 10px 10px;
    background:#fff;
    box-shadow:0 16px 36px rgba(0,0,0,.12);
  }
  .v-header .map_item_content ul li:not(:last-of-type) { margin-bottom:2px; }
  .v-header .map_item_content ul li a {
    width:100%;
    padding:8px 10px !important;
    border-radius:6px !important;
    text-decoration:none !important;
  }
  .v-header .map_item_content ul li a:hover { background:#f5f5f5; }

  .v-header .catalog_nav_head,
  .v-header .catalog_nav_head2 {
    left:0;
    right:0;
    width:100%;
    border:1px solid #e5e5e5;
    border-top:4px solid #feec00;
    border-radius:0 0 14px 14px;
    box-shadow:0 20px 45px rgba(0,0,0,.13);
    overflow:hidden;
  }

  /* The new mega-catalog is already rendered by header_0112_content.php. */
  .v-header .catalog-mega { border-radius:0 0 14px 14px; }
}

@media (min-width: 993px) and (max-width: 1199px) {
  .v-header .nav > ul > li > a { padding:0 8px !important; font-size:13px !important; }
  .v-header__logo a > img { max-width:150px; }
  .v-header__phone { font-size:15px; }
}
