/*=========Digitalwurl=========*/


@media (max-width: 768px) {
      .mobile-toggle {display: block;}
      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: saturate(180%) blur(12px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        display: none;
      }
      .nav-links.active {
          display: flex;
          overflow: scroll;
            z-index: 99999;
            height: 40vh;
      }
      .nav-dropdown .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 8px 0 8px 20px;
      }
    }

/* Mobile behaviour */
@media (max-width: 768px) {
  .instrument-sidebar {
    position: fixed;                 /* let content scroll behind it */
    top: auto;
    bottom: 80px;                    /* tweak as needed */
    right: -32px;
    max-width: 320px;
    width: 80%;
    transform: translateX(calc(100% - 52px)); /* mostly off-screen, leave handle visible */
    transition: transform 0.3s ease;
    z-index: 40;
    border-radius: 24px 0 0 24px;
    overflow: visible;
  }

  .instrument-sidebar.is-open {
    transform: translateX(0);
  }

  .instrument-sidebar-handle {
        display: block;
        position: absolute;
        left: -42px;
        top: 38%;
        transform: translateY(-50%);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        padding: 10px 8px;
        border-radius: 20px 0 0 20px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, .95);
        backdrop-filter: saturate(180%) blur(12px);
        font: inherit;
        cursor: pointer;
        white-space: nowrap;
        border-right: none;
  }

  /* Optional: slide fully in on hover for devices that support it */
  @media (hover: hover) and (pointer: fine) {
    .instrument-sidebar:hover {
      transform: translateX(0);
    }
  }

    .nav-cta {
        padding: 10px 32px 32px !important;
    }
}

@media (max-width: 900px) {
  .lessons-container {
    grid-template-columns: 1fr;
  }
}

   /* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-row {
    grid-template-columns: 1fr;
  }
  
  .pricing-cell.header {
    display: none;
  }
  
  .pricing-cell::before {
    content: attr(data-label);
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
  }
  .eyebrow {
    font-size: 12px;
  }
  .instrument-list {
    overflow: scroll;
  }
} 



