@charset "utf-8";
/* CSS Document */

.submenu-link {
  cursor: pointer;
  padding: 10px;
  display: block;
  text-decoration: none;
  color: #000;
}

.submenu-link.active {
  color: #007bff;
}

.right-content {
  display: none;
	transition: all 1s ease-out;
}

.right-content.active {
  display: block;

}

.mega-menu {
  position: absolute;
  top: 168px;
  width: 1420px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  border-top: 1px solid #ccc;
}

/*#bx-panel ~ .mega-menu {*/
/*	top: 206px;*/
/*}*/

.mega-menu.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

#dark-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#dark-background.show {
  visibility: visible;
  opacity: 1;
}

.mega-menu.hidden {
  display: none; /* Скрытие мегаменю */
}

.mega-menu-left {
  width: 333px; /* Ширина левой части */
  border-right: 1px solid #ccc; /* Разделительная линия */
  padding: 0;
  background: rgba(255, 255, 255, 0.95); /* Чуть более плотный фон */
}

.mega-menu-left ul {
	list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-left ul li a {
	height: 45px;
	display:flex;
	justify-content: space-between;
	font-family: var(--second-family);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: 0.01em;
}

.mega-menu-left ul li a i {
	font-size: 12px;
}

.submenu-link,
.submenu-href {
	line-height: 45px;
	padding: 0 23px;
}

.mega-menu-right {
  flex: 1; /* Правый блок занимает оставшееся пространство */
  padding: 0px;
}

/* Контент правого блока */
.right-content {
  display: none; /* Скрываем все блоки */
	justify-content: space-between;
	
}

.right-content.active {
  display: block; /* Показываем только активный блок */
	
}

.main-podmenu {
	display: flex;
	flex-wrap: wrap;
	padding: 30px 30px 65px;
	min-height: 350px;

}

/* Темная область */
.dark-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Затемнение фона */
  z-index: 99;
}

.dark-background.hidden {
  display: none; /* Скрытие темной области */
}

/* Спецпредложение */
.special-offer {
  background: #F5F4EF; /* Полупрозрачный фон */
  padding: 30px;
  position: relative;
	min-height: 140px;
	max-height: 140px;
}
/* Активный пункт подменю */
.submenu-link.active {
  color: #fff; /* Синий цвет для выделения */
background: #023E84;
	text-decoration: none;
}

.podmenu {
	max-width: 250px;
	flex: 0 1 auto;
	width: 25%;
	margin-bottom: 30px;
}

.podmenu ul {
	list-style: none;
	padding: 0;
	margin: 0 0 10px 0;
}

.podmenu h4 {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 16px;
	line-height: 147%;
	letter-spacing: -0.02em;
	color: #000;
	margin-bottom: 15px;
}

.podmenu ul li a {
	font-family: var(--font-family);
	font-weight: 300;
	font-size: 14px;
	line-height: 168%;
	color: #000;
	margin-bottom: 10px;
	display: inline-block;
}

.podmenu ul li a:hover {
	color:#023E84;
}

.special-offer {
	display: flex;

}

.special-offer-img {
	position: absolute;
	right: 0;
	bottom:0;
}

.special-offer-text {
	max-width: 220px;
}

.special-offer-text p {
	font-family: var(--second-family);
	font-weight: 400;
	font-size: 24px;
	line-height: 98%;
	letter-spacing: -0.02em;
	color: #000;
	margin-bottom: 10px;
	
}

.special-offer-text a {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 168%;
	letter-spacing: -0.02em;
	text-decoration: underline;
	text-decoration-skip-ink: none;
	color: #676455;
}

.special-offer-tovar {
	max-width: 200px;
	margin-left: 13rem;
}

.special-offer-tovar a {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 14px;
	line-height: 146%;
	letter-spacing: -0.02em;
	color: #000;
	display: inline-block;
	margin-bottom: 6px;
}

.special-price-new {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 19px;
	line-height: 146%;
	letter-spacing: -0.02em;
	color: #000;
}

.special-offer .discount {
	background: #be3f37;
	border-radius: 3px;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 12px;
	line-height: 146%;
	letter-spacing: -0.02em;
	color: #fff;
	padding:3px 5px;
}

.mega-menu .old-price {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 11px;
	line-height: 146%;
	letter-spacing: -0.02em;
	text-decoration: line-through;
	color: #9c9c9c;
	display: inline-block;
}

.menu-trigger.active {
  color: #023E84;
}

.menu-trigger {
  cursor: pointer;
}

#dark-overlay.visible {
  position: fixed; /* Фиксируем его поверх всех элементов */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Прозрачное затемнение */
  z-index: 10; /* Убираем его за пределы мега-меню */
}