/* INFO35 v6.24 unified wide layout. Template-only overrides. */
:root{
  --i35-wide:1560px;
  --i35-page-bg:#ffffff;
  --i35-card-bg:#ffffff;
  --i35-card-line:#e6e8ee;
  --i35-card-shadow:0 10px 28px rgba(17,24,39,.05);
  --i35-soft-2:#f7f8fa;
  --i35-title:#12161c;
  --i35-text-2:#394150;
  --i35-muted-2:#7a8291;
  --i35-accent-2:#de1f35;
  --i35-accent-2-dark:#b9182b;
}
html,
body.v6-theme{
  background:var(--i35-page-bg)!important;
}
.v6-theme .content_page,
.v6-theme .v6-main,
.v6-theme .v6-home .v6-main,
.v6-theme .v6-inner .v6-main{
  background:var(--i35-page-bg)!important;
}
.v6-theme .regulation_format,
.v6-theme .regulation_format_none_compt,
.v6-theme .v6-main > .regulation_format,
.v6-theme .v6-main > .regulation_format_none_compt{
  width:min(calc(100% - 34px),var(--i35-wide))!important;
  max-width:var(--i35-wide)!important;
  margin-inline:auto!important;
}
.v6-theme .v6-layout{
  grid-template-columns:minmax(0,1fr) 320px!important;
  gap:26px!important;
}
.v6-theme .v6-panel,
.v6-theme .base_block_main_content,
.v6-theme .box_generic,
.v6-theme .box_generic_complex,
.v6-theme .v6-sidebar .layer_second_content_contr > div,
.v6-theme .v6-lower > div,
.v6-theme .array_data_item,
.v6-theme .array_data_post_one{
  background:var(--i35-card-bg)!important;
  border:1px solid var(--i35-card-line)!important;
  border-radius:18px!important;
  box-shadow:var(--i35-card-shadow)!important;
}
.v6-theme .base_block_main_content,
.v6-theme .box_generic,
.v6-theme .box_generic_complex{
  overflow:hidden!important;
}
.v6-theme .box_generic_title,
.v6-theme .base_block_main_content .title_main_content,
.v6-theme .v6-panel .title_main_content{
  padding:18px 22px!important;
  border-bottom:1px solid var(--i35-card-line)!important;
  background:linear-gradient(180deg,#ffffff 0%, #fbfbfc 100%)!important;
}
.v6-theme .box_generic_title,
.v6-theme .title_main_content h1,
.v6-theme .title_main_content h2{
  color:var(--i35-title)!important;
}
.v6-theme .text_main_content,
.v6-theme .box_generic_content{
  background:transparent!important;
}

/* Unified category sections */
.v6-theme .section_advert_list_category,
.v6-theme .section_catalog_list_category,
.v6-theme #advert_category_general_block_base,
.v6-theme #catalog_category_general_block_base,
.v6-theme #public_category_general_block_base,
.v6-theme #article_category_general_block_base,
.v6-theme .category_general_block_base,
.v6-theme #advert_list_category_base,
.v6-theme #catalog_list_category_base{
  margin:0!important;
  padding:0!important;
}
.v6-theme #advert_category_general_block_base,
.v6-theme #catalog_category_general_block_base,
.v6-theme #public_category_general_block_base,
.v6-theme #article_category_general_block_base,
.v6-theme .category_general_block_base,
.v6-theme #advert_list_category_base,
.v6-theme #catalog_list_category_base,
.v6-theme .section_list_category_base{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
  list-style:none!important;
  align-items:stretch!important;
}
.v6-theme .section_list_category_base,
.v6-theme .category_general_block_base{
  padding:18px!important;
}
.v6-theme .section_list_category_first_lvl,
.v6-theme .category_general_block_data_one{
  width:auto!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  list-style:none!important;
}
.v6-theme .section_list_category_first_lvl::before,
.v6-theme .section_list_category_first_lvl::after,
.v6-theme .category_general_block_data_one::before,
.v6-theme .category_general_block_data_one::after,
.v6-theme .section_list_category_first_lvl > span::before,
.v6-theme .section_list_category_first_lvl > span::after,
.v6-theme .category_general_block_content_one::before,
.v6-theme .category_general_block_content_one::after,
.v6-theme .section_list_category_base li::before,
.v6-theme .section_list_category_base li::after{
  display:none!important;
  content:none!important;
}
.v6-theme .section_list_category_first_lvl > span,
.v6-theme .category_general_block_content_one{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  min-height:72px!important;
  height:100%!important;
  margin:0!important;
  padding:14px 16px!important;
  border:1px solid var(--i35-card-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease!important;
}
.v6-theme .section_list_category_first_lvl > span:hover,
.v6-theme .category_general_block_content_one:hover{
  border-color:#d9dde6!important;
  box-shadow:0 10px 24px rgba(15,23,42,.08)!important;
  transform:translateY(-1px)!important;
}
.v6-theme .section_list_category_first_lvl > span > a,
.v6-theme .section_list_category_first_lvl > span > a:visited,
.v6-theme .category_general_block_content_one > a,
.v6-theme .category_general_block_content_one > a:visited,
.v6-theme .info35_category_plain_link,
.v6-theme .info35_category_plain_link:visited{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:var(--i35-title)!important;
  font-size:15px!important;
  font-weight:700!important;
  line-height:1.35!important;
  text-decoration:none!important;
  background:none!important;
  border:0!important;
  white-space:normal!important;
}
.v6-theme .section_list_category_first_lvl > span > a:hover,
.v6-theme .category_general_block_content_one > a:hover,
.v6-theme .info35_category_plain_link:hover{
  color:var(--i35-accent-2)!important;
}
.v6-theme .section_list_category_first_lvl > span > a > span:first-child,
.v6-theme .category_general_block_content_one > a > span:first-child,
.v6-theme .info35_category_plain_name{
  flex:1 1 auto!important;
  min-width:0!important;
}
.v6-theme .section_list_category_first_lvl > span > span,
.v6-theme .category_general_block_data_one_quantity,
.v6-theme .info35_category_plain_link .category_general_block_data_one_quantity,
.v6-theme .section_list_category_first_lvl > span .category_general_block_data_one_quantity{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  margin-left:10px!important;
  padding:3px 9px!important;
  min-width:28px!important;
  border-radius:999px!important;
  background:var(--i35-soft-2)!important;
  color:var(--i35-muted-2)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.2!important;
}
.v6-theme .category_general_btn_inferior_lvl,
.v6-theme .category_general_data_inferior,
.v6-theme .category_general_data_inferior li,
.v6-theme .category_general_data_inferior li::before,
.v6-theme .category_general_data_inferior li::after{
  display:none!important;
}

/* make company/advert blocks align with wide layout */
.v6-theme .v6-home-content > .base_block_main_content,
.v6-theme .v6-content > .base_block_main_content,
.v6-theme .v6-content > .box_generic{
  margin-bottom:24px!important;
}
.v6-theme .v6-shortcuts{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}

/* cleaner gray-free overall look */
.v6-theme .v6-home-content,
.v6-theme .v6-content,
.v6-theme .v6-sidebar,
.v6-theme .v6-lower,
.v6-theme .layer_second_content_contr,
.v6-theme .text_main_content_decor{
  background:transparent!important;
}

@media (max-width:1360px){
  .v6-theme #advert_category_general_block_base,
  .v6-theme #catalog_category_general_block_base,
  .v6-theme #public_category_general_block_base,
  .v6-theme #article_category_general_block_base,
  .v6-theme .category_general_block_base,
  .v6-theme #advert_list_category_base,
  .v6-theme #catalog_list_category_base,
  .v6-theme .section_list_category_base{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:1120px){
  .v6-theme .v6-layout{
    grid-template-columns:1fr!important;
  }
  .v6-theme .v6-sidebar{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px!important;
  }
}
@media (max-width:900px){
  .v6-theme .regulation_format,
  .v6-theme .regulation_format_none_compt,
  .v6-theme .v6-main > .regulation_format,
  .v6-theme .v6-main > .regulation_format_none_compt{
    width:min(calc(100% - 24px),var(--i35-wide))!important;
  }
  .v6-theme #advert_category_general_block_base,
  .v6-theme #catalog_category_general_block_base,
  .v6-theme #public_category_general_block_base,
  .v6-theme #article_category_general_block_base,
  .v6-theme .category_general_block_base,
  .v6-theme #advert_list_category_base,
  .v6-theme #catalog_list_category_base,
  .v6-theme .section_list_category_base,
  .v6-theme .v6-shortcuts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .v6-theme .v6-sidebar{
    grid-template-columns:1fr!important;
  }
}
@media (max-width:640px){
  .v6-theme .regulation_format,
  .v6-theme .regulation_format_none_compt,
  .v6-theme .v6-main > .regulation_format,
  .v6-theme .v6-main > .regulation_format_none_compt{
    width:calc(100% - 18px)!important;
  }
  .v6-theme .section_list_category_base,
  .v6-theme .category_general_block_base{
    padding:14px!important;
  }
  .v6-theme #advert_category_general_block_base,
  .v6-theme #catalog_category_general_block_base,
  .v6-theme #public_category_general_block_base,
  .v6-theme #article_category_general_block_base,
  .v6-theme .category_general_block_base,
  .v6-theme #advert_list_category_base,
  .v6-theme #catalog_list_category_base,
  .v6-theme .section_list_category_base,
  .v6-theme .v6-shortcuts{
    grid-template-columns:1fr!important;
  }
  .v6-theme .section_list_category_first_lvl > span,
  .v6-theme .category_general_block_content_one{
    min-height:64px!important;
    padding:12px 14px!important;
  }
}
