/* آیکون منوی همبرگری → ضربدر (مشترک در تمام صفحات) */

.tc-menu-icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 0.9rem;
}

.tc-menu-icon__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease,
    top 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    bottom 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.tc-menu-icon__line:nth-child(1) {
  top: 0;
}

.tc-menu-icon__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.tc-menu-icon__line:nth-child(3) {
  bottom: 0;
}

:is(.tc-menu-toggle, .tc-menu-toggle-dash, .tc-dash-site-nav__toggle).is-open .tc-menu-icon__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

:is(.tc-menu-toggle, .tc-menu-toggle-dash, .tc-dash-site-nav__toggle).is-open .tc-menu-icon__line:nth-child(2) {
  opacity: 0;
  transform: translateY(-50%) scaleX(0.6);
}

:is(.tc-menu-toggle, .tc-menu-toggle-dash, .tc-dash-site-nav__toggle).is-open .tc-menu-icon__line:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) rotate(-45deg);
}

.landing-home :is(.tc-menu-toggle, .tc-menu-toggle-dash, .tc-dash-site-nav__toggle).tc-menu-toggle--animated.is-open {
  border-color: rgba(124, 92, 230, 0.45);
  background: var(--tc-lavender-bg, #f6f0ff);
}
