/* ── Toggle Button ── */
.catalog-nav {
  position: relative;
  padding-left: 28px;
}
.catalog-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px 16px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-toggle::before {
  content: '';
  width: 20px;
  height: 14px;
  background: linear-gradient(#e53935, #e53935) top / 20px 2px no-repeat, linear-gradient(#e53935, #e53935) center / 20px 2px no-repeat, linear-gradient(#e53935, #e53935) bottom / 20px 2px no-repeat;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg) scale(0.85);
}
.catalog-toggle:hover {
  color: #e53935;
}
.catalog-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 24px;
  height: 3px;
  background: #e53935;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-toggle:hover::after,
.catalog-toggle[aria-expanded="true"]::after {
  transform: scaleX(1);
}
/* ══════════════════════════════════
   DROPDOWN CONTAINER
   ══════════════════════════════════ */
#catalog-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -24px;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  list-style: none;
  z-index: 999;
  border-top: 1px solid #e8e8ee;
  overflow: visible;
  animation: slideDown 0.22s ease-out;
}
#catalog-menu[data-open="true"] {
  display: block;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Level 1 header ── */
#catalog-menu > li {
  list-style: none;
}
#catalog-menu > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 15px;
  color: #e53935;
  text-decoration: none;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border-bottom: 1px solid #e8e8ee;
  transition: 0.2s ease;
}
#catalog-menu > li > a::before {
  content: '⚙';
  font-size: 16px;
}
#catalog-menu > li > a:hover {
  background: linear-gradient(135deg, #ffebee, #fff5f5);
}
/* ══════════════════════════════════
   TWO-PANEL: wrapper
   ══════════════════════════════════ */
.catalog-panels {
  display: flex;
  flex-direction: row;
  min-height: 320px;
}
/* ── LEFT PANEL ── */
.catalog-left {
  width: 270px;
  min-width: 270px;
  background: #f8f8fa;
  border-radius: 0 0 0 12px;
  overflow: hidden;
}
.catalog-left-item {
  display: flex;
  align-items: center;
  padding: 12px 16px 12px 24px;
  font-weight: 700;
  font-size: 13.5px;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #e8e8ee;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.35;
}
.catalog-left-item::after {
  content: '›';
  margin-left: auto;
  font-size: 18px;
  color: #8e8ea0;
  transition: all 0.2s ease;
  padding-left: 10px;
  flex-shrink: 0;
}
.catalog-left-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e53935;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}
.catalog-left-item:hover,
.catalog-left-item.is-active {
  background: #ffffff;
  color: #e53935;
  padding-left: 28px;
}
.catalog-left-item:hover::after,
.catalog-left-item.is-active::after {
  color: #e53935;
  transform: translateX(3px);
}
.catalog-left-item:hover::before,
.catalog-left-item.is-active::before {
  transform: scaleY(1);
}
/* ── RIGHT PANEL ── */
.catalog-right {
  flex: 1;
  min-width: 400px;
  background: #ffffff;
  border-left: 1px solid #e8e8ee;
  border-radius: 0 0 12px 0;
  padding: 20px 24px;
  overflow-y: auto;
  animation: panelFade 0.15s ease;
}
@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateX(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.catalog-right-title {
  font-size: 14px;
  font-weight: 800;
  color: #e53935;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #e53935;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease;
}
.catalog-right-title:hover {
  opacity: 0.8;
}
.catalog-right-link {
  display: block;
  padding: 8px 12px 8px 22px;
  font-size: 13.5px;
  font-weight: 400;
  color: #5a5a72;
  text-decoration: none;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s ease;
  line-height: 1.4;
}
.catalog-right-link::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e8e8ee;
  transition: all 0.2s ease;
}
.catalog-right-link:hover {
  background: #fff5f5;
  color: #e53935;
  padding-left: 26px;
}
.catalog-right-link:hover::before {
  background: #e53935;
  width: 6px;
  height: 6px;
}
.catalog-right-empty {
  color: #8e8ea0;
  font-size: 13px;
  padding: 20px 0;
}
/* ── Скрываем оригинальный cat-sub (он нам не нужен визуально) ── */
#catalog-menu .cat-sub {
  display: none !important;
}
/* ── Backdrop ── */
.catalog-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 98;
  backdrop-filter: blur(2px);
}
.catalog-backdrop.active {
  display: block;
}
/* ── Mobile ── */
@media (max-width: 700px) {
  .catalog-panels {
    flex-direction: column;
    min-height: auto;
  }
  .catalog-left {
    width: 100%;
    min-width: 100%;
  }
  .catalog-right {
    min-width: 100%;
    border-left: none;
    border-top: 1px solid #e8e8ee;
  }
}
/*# sourceMappingURL=menu.css.map */