/* Andridor Grup: isolated header overrides. Original styles remain intact. */
.header.andridor-header {
  position: relative; top: auto; height: auto; border-top: 0;
  background: #14283f; color: #fff; font-size: 14px; line-height: 1.4;
}
.header.andridor-header > .container_md {
  max-width: 1600px; padding: 0 32px; box-sizing: border-box;
}
.andridor-header .header_block {
  display: flex; align-items: center; justify-content: flex-start;
  min-height: 104px; gap: 36px;
}
.andridor-header .header_center {
  flex: 0 0 124px; width: 124px; max-width: none; background: #14283f;
}
.andridor-header .header_center a { display: block; }
.andridor-header .header_center img {
  display: block; width: 124px; height: auto; max-width: 100%; object-fit: contain;
}
.andridor-header .header_left,
.andridor-header .header_right {
  display: flex; flex-direction: row; align-items: center;
  padding: 0; min-width: 0; gap: 32px;
}
.andridor-header .header_left { margin-left: auto; }
.andridor-header .header_right { margin-left: 0; }
.andridor-header .header_right_link_block {
  flex-direction: row; align-items: center; gap: 32px; margin: 0;
}
.andridor-header .header_left_link,
.andridor-header .header_right_link { margin: 0; white-space: nowrap; }
.andridor-header .header_left_link > .link,
.andridor-header .header_right_link > a { display: block; padding: 16px 0; }
.andridor-header a,
.andridor-header .nice-select { text-transform: uppercase; }
.andridor-header .header_left_select:after { top: 23px; right: -15px; }
.andridor-header .header_soc_block { margin: 0; display: flex; gap: 10px; }
.andridor-header .header_soc_block a { margin: 0; }
.andridor-header .header_lang_block { margin: 0; align-items: center; }
.andridor-header .header_soc_block svg path,
.andridor-header .header_lang_block > span svg path { fill: #fff; }
.andridor-header .header_left_select_block,
.andridor-header .header_left_select_line_absolute,
.andridor-header .nice-select .list { background: #14283f; color: #fff; }
.andridor-header .header_left_select_block { z-index: 20; }
.andridor-header .header_left_select_line { min-width: 200px; }
.andridor-header .header_left_select_line a { display: block; padding: 6px 4px; }
.andridor-header .nice-select .list { min-width: 64px; }
.andridor-header .header_lang_block .nice-select:after,
.andridor-header.category .header_left_select:after {
  background: none; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.andridor-header .header_lang_block .nice-select.open:after,
.andridor-header.category .header_left_select.active:after { transform: rotate(225deg); }
.andridor-header a:focus-visible,
.andridor-header .links_mob:focus-visible { outline: 2px solid #bb9554; outline-offset: 4px; }
@media (min-width: 901px) {
  .andridor-header .links_mob, .andridor-header .header_mob { display: none; }
  .andridor-header .header_right_link_block.links { display: flex; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .andridor-header .header_block { gap: 24px; }
  .andridor-header .header_left, .andridor-header .header_right,
  .andridor-header .header_right_link_block { gap: 22px; }
  .andridor-header .header_soc_block { display: none; }
  .header.andridor-header { font-size: 12px; }
}
@media (max-width: 900px) {
  .header.andridor-header > .container_md { padding: 0 16px; }
  .andridor-header .header_block { min-height: 80px; gap: 16px; }
  .andridor-header .header_center { flex: 0 0 96px; width: 96px; }
  .andridor-header .header_center img { width: 96px; }
  .andridor-header .header_left { order: 3; margin-left: 0; }
  .andridor-header .header_right { order: 2; margin-left: auto; }
  .andridor-header .header_left_link,
  .andridor-header .header_right_link_block.links,
  .andridor-header .header_soc_block { display: none; }
  .andridor-header .links_mob { display: block; margin: 0; padding: 12px; }
  .andridor-header .links_mob svg { display: block; }
  .andridor-header .links_mob svg rect { fill: #fff; }
  .andridor-header .header_mob {
    display: none; top: 100%; left: 0; width: 100%; max-width: none;
    max-height: calc(100dvh - 80px); overflow-y: auto;
    padding: 16px; margin: 0; box-sizing: border-box;
    background: #14283f; color: #fff; z-index: 30;
  }
  .andridor-header .header_mob.active { display: block; left: 0; }
  .andridor-header .header_mob ul { margin: 0; padding: 0; }
  .andridor-header .header_mob .header_left_select:after { top: 6px; }
  .andridor-header .header_left_select_block { position: relative; }
  .andridor-header .header_left_select_line .header_left_select_line_absolute {
    position: static; max-width: none; max-height: none; overflow: visible;
    padding-left: 12px; margin: 0;
  }
  .andridor-header .header_left_select_line { min-width: 0; }
  .andridor-header .header_left_select_line a { overflow-wrap: anywhere; }
}

/* Revision 2: homepage overlay and white interior header, as in references. */
.header.andridor-header { font-family: Arial, sans-serif; font-weight: 600; }
.header.andridor-header > .container_md {
  max-width: 1800px; padding: 0 clamp(20px, 2.9vw, 56px);
}
.header.andridor-header:not(.category) {
  position: absolute; top: 0; left: 0; background: transparent; color: #fff;
}
.header.andridor-header.category { position: relative; background: #fff; color: #14283f; }
.andridor-header .header_block { min-height: 100px; gap: clamp(24px, 3.5vw, 65px); }
.andridor-header .header_center {
  width: 255px; flex: 0 0 255px; align-self: flex-start;
}
.andridor-header .header_center img { width: 255px; height: 100px; }
.andridor-header:not(.category) .header_center {
  width: 350px; flex-basis: 350px; background: transparent;
}
.andridor-header:not(.category) .header_center img { width: 350px; height: 110px; }
.andridor-header .header_left,
.andridor-header .header_right,
.andridor-header .header_right_link_block { gap: clamp(24px, 2.6vw, 48px); }
.andridor-header .header_left_link > .link,
.andridor-header .header_right_link > a { position: relative; padding: 18px 0; }
.andridor-header .header_left_select:after { top: 25px; }
.andridor-header .header_soc_block { display: none; }
.andridor-header .header_lang_block {
  padding-left: 30px; border-left: 1px solid currentColor;
}
.andridor-header .header_lang_block > span { display: none; }
.andridor-header .header_left_link.is-current > .link:after {
  content: ''; position: absolute; bottom: 3px; left: 0; right: 0;
  height: 3px; background: #ebbb42;
}
.andridor-header.category .header_left_select:after,
.andridor-header .header_lang_block .nice-select:after {
  border-color: currentColor;
}
.andridor-header.category .header_left_select_block,
.andridor-header.category .header_left_select_line_absolute,
.andridor-header.category .nice-select .list {
  background: #fff; color: #14283f; box-shadow: 0 8px 24px #14283f18;
}
.andridor-header .header_left_select_block.active { padding-top: 12px; }
.andridor-header ~ .main { background: #fff; }
/* Slider height and content alignment replace the old fixed top paddings. */
.andridor-header:not(.category) ~ .main .main_slide {
  height: clamp(650px, 100svh, 1080px); min-height: 0;
}
.andridor-header:not(.category) ~ .main .main_slider { min-height: 0; }
.andridor-header:not(.category) ~ .main .main_slide > img,
.andridor-header:not(.category) ~ .main .main_slide > video {
  width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover;
}
.andridor-header:not(.category) ~ .main .main_slide_data {
  height: 100%; padding: 150px 0 70px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(90deg, #081b3038, transparent 80%);
}
.andridor-header:not(.category) ~ .main .main_slide_data > .container_md {
  width: 100%; max-width: 1800px; padding: 0 clamp(24px, 6vw, 110px);
  box-sizing: border-box; transform: translateY(35px);
}
.andridor-header ~ .main .main_slide_header {
  font-family: Arial, sans-serif; font-size: clamp(32px, 3.65vw, 64px);
  line-height: 1.12; font-weight: 600; margin: 0 0 20px; max-width: 1400px;
}
.andridor-header ~ .main .main_slide_text:empty { display: none; }
.andridor-header ~ .main .main_slide_text { margin: 0 0 20px; }
.andridor-header ~ .main .main_slide_btn {
  color: #14283f; letter-spacing: 0; font-family: Arial, sans-serif;
  font-size: 16px; font-weight: 700;
}
.andridor-header ~ .main .main_slide_btn a {
  display: inline-flex; align-items: center; justify-content: center; gap: 28px;
  min-height: 62px; padding: 0 36px; border-radius: 5px;
  background: #eabb43; text-decoration: none !important; box-sizing: border-box;
}
.andridor-header ~ .main .main_slide_btn a:not([disabled]):hover { background: #f5ce6a; color: #14283f; }
.andridor-header ~ .main .main_slide_btn a[disabled] { opacity: .7; }
.andridor-header ~ .main .main_slide_btn svg { margin: 0; }
.andridor-header ~ .main .main_slide_btn svg path { fill: #14283f; fill-opacity: 1; }
/* Interior banner: title first, then breadcrumb, both aligned left. */
.andridor-header ~ .main .breadcrumbs_block { margin-top: 0; min-height: 0; }
.andridor-header ~ .main .breadcrumbs_img { height: clamp(260px, 19vw, 330px); overflow: hidden; }
.andridor-header ~ .main .breadcrumbs_img img {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover;
}
.andridor-header ~ .main .breadcrumbs_data {
  display: flex; align-items: center; height: 100%;
  background: linear-gradient(90deg, #0d263ee8 0%, #0d263e88 37%, transparent 76%);
}
.andridor-header ~ .main .breadcrumbs_data > .container_md {
  max-width: 1800px; width: 100%; padding: 30px clamp(24px, 4.3vw, 80px);
  box-sizing: border-box; display: flex; flex-direction: column; gap: 16px;
}
.andridor-header ~ .main .breadcrumbs_title {
  display: block; order: -1; margin: 0; max-width: 660px;
  font-family: Arial, sans-serif; font-size: clamp(30px, 3vw, 50px);
  font-weight: 600; line-height: 1.12; letter-spacing: .03em;
}
.andridor-header ~ .main .breadcrumbs_header { margin: 0; font-size: 15px; line-height: 1.5; }
.andridor-header ~ .main .breadcrumbs_header ul {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  text-align: left; margin: 0; padding: 0;
}
.andridor-header ~ .main .breadcrumbs_header ul li { display: block; padding: 0; }
/* Catalog: four cards in the first row, three equal cards in a seven-item list. */
.andridor-header ~ .main > .container_md {
  width: 100%; max-width: 1800px; padding: 0 clamp(20px, 3.5vw, 64px); box-sizing: border-box;
}
.andridor-header ~ .main .category_list { gap: 20px; margin: 24px 0 30px; align-items: stretch; }
.andridor-header ~ .main .category_item {
  flex: 1 1 calc(25% - 20px); width: auto; max-width: none; min-width: 0;
  min-height: 0; margin: 0; border: 1px solid #f0f1f3; box-sizing: border-box;
}
.andridor-header ~ .main .category_item.empty_lg,
.andridor-header ~ .main .category_item.empty_md,
.andridor-header ~ .main .category_item.empty_xs { display: none !important; }
.andridor-header ~ .main .category_item > a { display: block; height: clamp(190px, 17vw, 290px); background: #fff; }
.andridor-header ~ .main .category_item img {
  display: block; width: 100%; height: 100% !important; object-fit: contain !important;
}
.andridor-header ~ .main .category_header {
  max-height: none; overflow: visible; margin: 0; padding: 14px 12px;
  text-align: center; color: #14283f; font: 600 16px/1.4 Arial, sans-serif;
  text-transform: uppercase;
}
@media (min-width: 901px) and (max-width: 1150px) {
  .andridor-header .header_block { gap: 24px; }
  .andridor-header .header_center { width: 210px; flex-basis: 210px; }
  .andridor-header .header_center img { width: 210px; height: 100px; object-fit: contain; }
  .andridor-header:not(.category) .header_center { width: 280px; flex-basis: 280px; }
  .andridor-header:not(.category) .header_center img { width: 280px; height: 100px; object-fit: contain; }
  .andridor-header .header_left, .andridor-header .header_right,
  .andridor-header .header_right_link_block { gap: 23px; }
  .andridor-header .header_lang_block { padding-left: 16px; }
}
@media (max-width: 900px) {
  .header.andridor-header:not(.category) { background: linear-gradient(#0d263ed9, #0d263e55); }
  .header.andridor-header > .container_md { padding: 0 16px; }
  .andridor-header .header_block { min-height: 80px; gap: 12px; }
  .andridor-header .header_center { width: 180px; flex-basis: 180px; }
  .andridor-header .header_center img { width: 180px; height: 80px; object-fit: contain; }
  .andridor-header:not(.category) .header_center { width: 240px; flex-basis: 240px; }
  .andridor-header:not(.category) .header_center img { width: 240px; height: 80px; object-fit: contain; }
  .andridor-header .header_left, .andridor-header .header_right { gap: 0; }
  .andridor-header .header_lang_block { padding-left: 0; border-left: 0; }
  .andridor-header.category .links_mob svg rect { fill: #14283f; }
  .andridor-header.category .header_mob { background: #fff; color: #14283f; }
  .andridor-header .header_mob .header_left_select:after { top: 6px; }
  .andridor-header:not(.category) ~ .main .main_slide { height: 80svh; min-height: 580px; max-height: 850px; }
  .andridor-header:not(.category) ~ .main .main_slide_data { padding: 120px 0 55px; justify-content: flex-end; }
  .andridor-header:not(.category) ~ .main .main_slide_data > .container_md { padding: 0 24px; transform: none; }
  .andridor-header ~ .main .category_item { flex-basis: calc(50% - 20px); }
  .andridor-header ~ .main .category_item > a { height: clamp(190px, 33vw, 290px); }
  .andridor-header ~ .main .breadcrumbs_img { height: 260px; }
}
@media (max-width: 480px) {
  .header.andridor-header > .container_md { padding: 0 12px; }
  .andridor-header .header_center { width: 156px; flex-basis: 156px; }
  .andridor-header .header_center img { width: 156px; }
  .andridor-header:not(.category) .header_center { width: 190px; flex-basis: 190px; }
  .andridor-header:not(.category) .header_center img { width: 190px; }
  .andridor-header .header_block { gap: 6px; }
  .andridor-header .links_mob { padding: 10px; }
  .andridor-header ~ .main .main_slide_header { font-size: 34px; }
  .andridor-header ~ .main .main_slide_btn a { min-height: 54px; padding: 0 24px; }
  .andridor-header ~ .main .breadcrumbs_title { font-size: 29px; }
  .andridor-header ~ .main .breadcrumbs_header { font-size: 12px; }
  .andridor-header ~ .main .breadcrumbs_header ul { gap: 6px 10px; }
  .andridor-header ~ .main .category_list { gap: 16px; margin-top: 20px; }
  .andridor-header ~ .main .category_item { flex-basis: 100%; }
  .andridor-header ~ .main .category_item > a { height: 280px; }
}
