@charset "UTF-8";
/* Стили для мега-меню */
:root {
  --menu-radius: 18px;
  --menu-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
}
#mobileMenuUsabilityOffcanvas {
    z-index: 1206;
}
#mobileMenuUsabilityOffcanvas .fa {
    font-size: 15px;
}

/* Стили для мобильного меню (Bootstrap 3 modal) */
.modal-subtitle {
  font-size: 8.5px;
  color: #777;
  font-weight: 400;
}

.modal-right {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0;
  width: 400px;
  max-width: 100%;
  height: 100%;
  overflow-y: auto;
}

.modal-right .modal-content {
  height: 100%;
  border-radius: 0;
  border-left: 1px solid #eee;
}

.modal-right .modal-body {
  overflow-y: auto;
  padding: 15px;
}

/* Новые стили для улучшенного мобильного меню */
.menu-view {
  display: none;
}

.menu-view.is-active {
  display: block;
}

.view-head {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  height: 40px;
}

.menu-back {
  background: transparent;
  border: 1px solid #BF9D30;
  color: #BF9D30;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 13px;
  border-radius: 15px;
  margin-right: 30px;
  height: 35px;
  width: 90px;
}

.menu-back:hover {
  background-color: #e5e5e5;
}

.view-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
  max-width: 200px;
}

.catalog-search {
  position: relative;
  margin-bottom: 15px;
}

.catalog-search i {
  position: absolute;
  left: 7.5px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
}

#catalogSearch {
  width: 100%;
  padding: 5px 5px 5px 25px;
  border: 1px solid #FAF6EC;
  border-radius: 3.75px;
  font-size: 8.75px;
}

.catalog-list {
  margin-bottom: 15px;
}

.catalog-item {
  border: none;
  width: 100%;
  text-align: left;
  padding: 7.5px;
  margin-bottom: 5px;
  background: white;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-block;
  color: #0E3F18;
  font-size: 18px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #FAF6EC;
}

a.catalog-item {
  font-size: 18px;    
}

.catalog-item.active {
  color: #BF9D30 !important;  
  background: #FAF6EC;
  border-radius: 6px;
}

.catalog-item:hover {
  border-color: unset;
  box-shadow: none;
  color: #BF9D30;
}

.catalog-item.is-active {
  border-color: unset;
  background-color: unset;
  color: #BF9D30;
}

.catalog-item small {
  display: block;
  color: #777;
  font-size: 7.5px;
  margin-top: 2.5px;
}

.catalog-empty {
  color: #777;
  font-style: italic;
  text-align: center;
  padding: 20px 0;
}

.section-hint {
  color: #777;
  font-size: 8.75px;
  margin: 10px 0;
}

.section-root-link {
  display: block;
  padding: 7.5px;
  background-color: #f5f5f5;
  border-radius: 3.75px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  margin-bottom: 10px;
  transition: background-color 0.15s ease;
  
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.section-root-link:hover {
  background-color: #e5e5e5;
}

.sub-groups {
  margin-top: 10px;
}
.modal .sub-groups {
  margin-top: 0;
}

.group-item {
  margin-bottom: 10px;
  border: none;
  border-radius: 3.75px;
  overflow: hidden;
}

.group-trigger {
  width: 100%;
  text-align: left;
  padding: 7.5px;
  background: unset;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.15s ease;
  color: #0E3F18;
  font-size: 18px;
  border-bottom: 1px solid #FAF6EC;
}

.group-trigger:hover {
  background-color: #f5f5f5;
}

.group-panel {
  padding: 0 0 7.5px 7.5px;
}

.sub-link {
  display: block;
  padding: 5px 0;
  color: #0E3F18;
  text-decoration: none;
  border-radius: unset;
  transition: all 0.15s ease;
  font-size: 18px;
  border-bottom: 1px solid #FAF6EC;
}

.sub-link:hover {
  background-color: none;
  color: #BF9D30;
}

.sub-link.is-terminal {
  padding: 5px 7.5px;
  background-color: unset;
  margin: 2.5px 0;
}

.menu-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-link {
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7.5px;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.15s ease;
  background: none;
  font-size: 18px;
  border-bottom: 1px solid #FAF6EC;
}

.menu-link.active {
  color: #BF9D30 !important;
  background: #FAF6EC;
  border-radius: 6px;
}

.menu-link:hover {
  background-color: unset;
  text-decoration: none;
}

.menu-link-main {
  color: #0E3F18;
  border: none;
  border-bottom: 1px solid #FAF6EC;
}

.menu-link-main.is-active {
  border-color: #BF9D30;
  background-color: unset;
}

.terminal-link {
  color: #0E3F18;
}

.terminal-link.active {
  color: #BF9D30 !important;  
  background: #FAF6EC;
  border-radius: 6px;
}

.oc-group {
  margin-bottom: 15px;
}

.oc-group-title {
  font-size: 8.75px;
  font-weight: 600;
  color: #777;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.oc-item {
  display: block;
  padding: 2.5px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.oc-item:hover {
  color: #337ab7;
  text-decoration: none;
}

.oc-list {
  max-height: 200px;
  overflow-y: hidden;
  transition: max-height 0.3s ease;
}

.oc-list.collapsed {
  max-height: 120px;
  overflow-y: hidden;
}

.oc-more {
  display: flex;
  align-items: center;
  gap: 2.5px;
  color: #337ab7;
  text-decoration: none;
  margin-top: 5px;
  font-size: 8.75px;
}

.oc-more:hover {
  text-decoration: none;
}

.oc-offer {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 5px;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.15) 0%, rgba(25, 135, 84, 0.05) 100%);
  border-radius: 50%;
  z-index: 0;
}

.oc-offer > div {
  position: relative;
  z-index: 1;
}

.offer-btn {
  font-weight: 600;
}

/* Стили для десктопного мега-меню */
#mainMenu {
    width: 100%;
}
@media(min-width:1199px) and (max-width:1210px) {
    #mainMenu {
        padding-right: 12px;
        padding-left: 12px;
    }    
}
.mega-menu {
  left: 0 !important;
  right: auto !important;
  border: 1px solid rgba(14, 63, 24, 0.14);
  border-radius: var(--menu-radius);
  background: #F2F0EC;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--menu-shadow);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  will-change: transform, opacity;
  height: auto;
  width: auto;
  top: 100%;
  min-width: 200px;
  padding: 0;
  margin: 2px 0 0;
  float: none;
  position: absolute !important;
}
.el-contacts .el-header-phone-btn img {
    margin-left: 20px;
}
@media(max-width:1400px) {
    .el-contacts .el-header-phone-btn img {
        margin-left: 0;
    }
}
@media(max-width:1200px) {
    .el-contacts .el-header-phone-btn img {
        margin-left: 15px;
    }
}
@media(max-width:1500px) {
    .mega-menu {
        left: 33% !important;    
    }    
}
@media(max-width:1200px) {
    .mega-menu {
        left: 43% !important;    
    }    
}

.mega-dropdown {
  position: static !important;
}

.mega-dropdown.no-submenu {
  position: relative !important;
}

.mega-dropdown .mega-menu {
  width: min(1240px, 100vw - 25px);
}
@media(max-width:1600px) {
    .mega-dropdown .mega-menu {
      width: min(1200px, 100vw - 25px);
    }    
}
@media(max-width:1500px) {
    .mega-dropdown .mega-menu {
      width: min(1200px, 100vw - 45px);
    }    
}

.mega-dropdown.no-submenu .mega-menu {
  left: 0 !important;
  width: auto;
}

.mega-dropdown.no-submenu.open .mega-menu {
  opacity: 1;
  transform: unset;
}

.mega-dropdown.open .mega-menu {
  opacity: 1;
  display: block !important;
  border-top-right-radius: 18px;
  border-top-left-radius: 18px;
}

@media(max-width:1500px) {
    .mega-dropdown.open .mega-menu {
      transform: translateX(-33%) translateY(0) scale(1);
    }    
}
@media(max-width:1200px) {
    .mega-dropdown.open .mega-menu {
      transform: translateX(-43%) translateY(0) scale(1);
    }    
}

.mega-inner {
  padding: 10px;
}

.mega-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 15px;
}

.mega-dropdown.no-submenu .mega-menu.secondary-menu .mega-grid {
  grid-template-columns: 1fr;
  white-space: nowrap;
}

.mega-left {
  position: relative;
  padding: 10px;
  border-radius: var(--menu-radius);
  border: 1px solid rgba(14, 63, 24, 0.14);
  background: #F9F8F6;
}

.mega-left .divider {
    border-top: 1px solid rgba(14, 63, 24, 0.14);
}

.mega-left .dropdown {
  position: unset;
  padding: 0 15px;
}

.mega-left-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mega-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  color: #0E3F18;
  text-decoration: none;
  border-radius: 3.75px;
  transition: all 0.15s ease-in-out;
}

.mega-link.active {
  color: #BF9D30 !important;
}

.mega-link.mega-link-active {
  color: #BF9D30 !important;    
}

.mega-link:hover {
  background-color: unset;
  color: #BF9D30;
  text-decoration: none;
}

.mega-right {
  left: 100%;
  top: 0 !important;
  padding: 10px;
  border-radius: var(--menu-radius);
  border: 1px solid rgba(14, 63, 24, 0.14);
  background: #FDFCFB;
  opacity: 1;
}

.mega-right.no-visible {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.mega-right .mega-items {
  max-height: unset;
}

.mega-right .panel-collapse {
  display: none;
  max-height: 0;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.mega-right .panel-collapse.in {
  max-height: 5000px;
}

.mega-right-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mega-right-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-left: 5px;
}

.lvl3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mega-group {
  padding: 20px;
  border-radius: var(--menu-radius);
  border: 1px solid rgba(14, 63, 24, 0.14);
  background: #F8F6F2;
}

.mega-group-title {
  font-size: 12px;
  font-weight: 600;
  color: #BF9D30;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.mega-items {
  max-height: 200px;
  overflow-y: hidden;
  transition: max-height 0.3s ease;
}

.mega-items.other {
    /*columns: 2;*/
}

.mega-items.collapsed {
  max-height: 120px;
  overflow-y: hidden;
}

.mega-items .collapse-item {
  display: none;
}

.mega-items .panel-collapse {
  display: none;
}

.mega-items .panel-collapse.in {
  display: block;
}

.mega-item {
  display: block;
  padding: 2.5px 0;
  color: #0E3F18;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
  /*white-space: nowrap;*/
}

.mega-items.other .mega-item {
    white-space: nowrap;    
}

.mega-item.active {
  color: #BF9D30 !important;
}

.mega-item:hover {
  color: #BF9D30;
  text-decoration: none;
}

.show-more-link {
  display: flex;
  align-items: center;
  gap: 2.5px;
  color: #0E3F18;
  text-decoration: none;
  margin-top: 5px;
  font-size: 12px;
  font-weight: bold;
}
.show-more-link:focus {
    outline: none;
}

.show-more-link:hover {
  text-decoration: none;
}

.right-split {
  display: grid;
  grid-template-columns: 3fr;
  gap: 15px;
}

.offer-card {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 12.5px;
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.offer-blob {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.15) 0%, rgba(25, 135, 84, 0.05) 100%);
  border-radius: 50%;
  z-index: 0;
}

.offer-card > div {
  position: relative;
  z-index: 1;
}

.offer-title {
  font-weight: 700;
  margin: 5px 0 2.5px;
  font-size: 10px;
}

.offer-text {
  color: #777;
  font-size: 8.75px;
  margin-bottom: 10px;
}

/* Стили для бэкдропа */
/*.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.modal-backdrop.in {
  opacity: 1;
}*/

/* Стили для кнопки вызова офферов */
.btn-cta {
  font-weight: 700;
  padding: 6.25px 12.5px;
  border-radius: 999px;
}

/* Адаптивность */
.navbar-toggle {
  color: #000;
}

.navbar-toggle .fa {
  font-size: 18px;
}

@media (max-width: 992px) {
  #mainMenu {
    display: none !important;
  }
  .mega-menu {
    display: none;
  }
  .mega-dropdown {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .navbar-toggle {
    display: none !important;
  }
}

/* При открытии модального окна - предотвращаем прокрутку основного контента */
.menu-open {
  overflow: hidden;
}

/* Стили для прозрачного фона меню */
.navbar-default {
  background-color: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  z-index: 1040;
  padding: 0;
}
.navbar-default.el-mobile-menu {
background-color: unset !important;    
}

/* Улучшенные стили для элементов меню на прозрачном фоне */
.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-nav > li > a:hover {
  color: rgb(0, 0, 0);
}

.navbar-default .navbar-toggle .fa {
  font-size: 15px;
  color: #777;
}
.dropdown-toggle::after {
    display: none;
}

/* Стили для иконок в правой части меню */
.navbar .mega-items .fa {
  font-size: 10px;
}

/* Стили для бейджа корзины */
.cart-badge {
  font-size: 6px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #d9534f;
  border-radius: 50%;
  position: relative;
  top: -10px;
  left: -5px;
}

/* Стили для телефона и выбора города */
.navbar .dropdown-toggle {
  color: rgba(0, 0, 0, 0.65);
}

.navbar .dropdown-toggle:hover {
  color: rgba(0, 0, 0, 0.9);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  padding: 5px 15px;
}

@media (min-width: 992px) {
  .navbar-header {
    width: auto;
  }
}
/* Переопределяем стандартное поведение dropdown для mega-menu */
.mega-dropdown.open > .dropdown-menu {
  display: block;
  opacity: 1;
}

.mega-dropdown > .dropdown-menu {
  display: none;
}

/* Flex утилиты для Bootstrap 3 */
.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-end {
  align-items: flex-end;
}

.align-items-center {
  align-items: center;
}

.position-relative {
  position: relative !important;
}

.position-static {
  position: static !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.small {
  font-size: 85%;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 2.5px;
  background-color: #777;
  color: #fff;
}

.badge.rounded-pill {
  border-radius: 50%;
}

.text-bg-secondary {
  background-color: #777 !important;
  color: #fff !important;
}

.ms-2 {
  margin-left: 5px;
}

/* Offcanvas классы из Bootstrap 5 эмулируем */
.offcanvas {
  display: none;
}

.offcanvas.show {
  display: block;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
    background-color: unset;
    color: #BF9D30 !important;
}
.el-modal-header {
    position: relative;    
}
.el-modal-header-text {
    width: 90%;    
}
.el-modal-header-text .modal-title {
    font-size: 18px;
}
.el-modal-close {
    display: block !important;
    right: 15px;
    top: 10px;
    position: absolute !important;
}
.navbar-fixed-top {
    padding: 0;
}
.el-menu-parent-item {
    padding: 10px 15px  !important;
}
.all-products {
    font-size: 14px;
}
.el-menu-parent-item_info.active {
    color: #BF9D30 !important;
}
.el-btn-get-cons {
    background: #0E3F18;
    border: none;
    padding: 10px 12px;
    border-radius: 10px;
    color: #fff;
    display: block;
    width: 100%;
    margin-top: 20px;
}
.el-mobile-get-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.el-mobile-get-cont li {
    margin-top: 20px;
    width: 50%;    
    list-style: none;
}
.el-mobile-get-cont li span {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #0E3F18;
    width: 100%;
    display: inline-block;
    
    text-align: center;
}
.el-mobile-get-cont li:first-child {
    margin-right: 5px;
}
.el-mobile-get-cont li:last-child {
    margin-left: 5px;
}

/* ===== «Прочее» в меню «Строительство» ===== */
/* правая панель «Прочее»: сетка карточек прежних разделов */
.mega-right .other-lvl3-grid { 
    display:grid; 
    grid-template-columns:1fr 1fr; 
    gap:16px;
}
.other-group {
    background:#F8F6F2; 
    border:1px solid #e7eae6; 
    border-radius:10px;
    padding:16px 20px;
}
.other-group-title {
    display:inline-block; 
    font-weight:bold; 
    font-size:15px;
    color:#0E3F18; 
    text-decoration:none;
}
.other-subgroups { 
    display:grid; 
    grid-template-columns:1fr 1fr; 
    gap:0 24px; 
}
.other-subgroups .other a {
    font-size: 14px;
}
.other-subgroup-title {
    margin:8px 0 6px; 
    font-size:12px; 
    letter-spacing:.06em;
    text-transform:uppercase; 
    color:#BF9D30;
    font-weight: bold;
}
.other-empty { 
    color:#9aa1a9; 
    font-size:13px; 
}

/*# sourceMappingURL=menu.css.map */
