/* Mobile Menu Button Styles */
.mobile-menu-button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: none !important;
  transition: background-color var(--transition-fast);
}

.mobile-menu-button:hover {
  background-color: none !important;
}

.mobile-menu-button:focus {
  outline: none !important;
  outline-offset: none !important;
}

.menu-icon {
  width: 40px;
  height: 40px;
  overflow: visible;
}

.dot {
  fill: var(--color-primary-rust-500);
  transition: fill var(--transition-fast);
}

/* Initial state - all dots hidden */
.dot {
  opacity: 0;
}

/* Closed state (hamburger/equals lines) - default */
.mobile-menu-button[data-menu-state="closed"] .dot-r2-1,
.mobile-menu-button[data-menu-state="closed"] .dot-r2-2,
.mobile-menu-button[data-menu-state="closed"] .dot-r2-3,
.mobile-menu-button[data-menu-state="closed"] .dot-r2-4,
.mobile-menu-button[data-menu-state="closed"] .dot-r2-5,
.mobile-menu-button[data-menu-state="closed"] .dot-r4-1,
.mobile-menu-button[data-menu-state="closed"] .dot-r4-2,
.mobile-menu-button[data-menu-state="closed"] .dot-r4-3,
.mobile-menu-button[data-menu-state="closed"] .dot-r4-4,
.mobile-menu-button[data-menu-state="closed"] .dot-r4-5 {
  opacity: 1;
}

/* Open state (X pattern) */
.mobile-menu-button[data-menu-state="open"] .dot-r1-1,
.mobile-menu-button[data-menu-state="open"] .dot-r1-5,
.mobile-menu-button[data-menu-state="open"] .dot-r2-2,
.mobile-menu-button[data-menu-state="open"] .dot-r2-4,
.mobile-menu-button[data-menu-state="open"] .dot-r3-3,
.mobile-menu-button[data-menu-state="open"] .dot-r4-2,
.mobile-menu-button[data-menu-state="open"] .dot-r4-4,
.mobile-menu-button[data-menu-state="open"] .dot-r5-1,
.mobile-menu-button[data-menu-state="open"] .dot-r5-5 {
  opacity: 1;
}

/* Mobile only - hide on desktop */
@media (min-width: 769px) {
  .mobile-menu-button {
    display: none;
  }
}