html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

header {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 50;
}

img,
iframe {
    max-width: 100%;
}

button,
a,
input,
select,
textarea {
    touch-action: manipulation;
}

#menu .section-title.menu-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    margin-top: 1.25rem;
    margin-bottom: 0;
    padding: 0.9rem 0;
}

#menu .menu-category-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

#menu .menu-category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

#menu .section-title.menu-category-toggle[aria-expanded="true"] + .menu-category-items {
    max-height: 5000px;
}

#menu .section-title.menu-category-toggle[aria-expanded="true"] .menu-category-icon {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    #mobile-menu {
        max-height: calc(100vh - 5.5rem);
        overflow-y: auto;
    }

    header .h-20 {
        height: 4.5rem;
    }

    header img.h-16 {
        height: 3.5rem;
    }

    header .space-x-4 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0.75rem;
    }

    section.py-16,
    main.py-12 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    h1,
    h2,
    h3,
    p,
    a,
    button,
    label,
    input,
    select,
    textarea {
        overflow-wrap: anywhere;
    }

    .contact-button,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }

    footer .space-x-6 > :not([hidden]) ~ :not([hidden]) {
        margin-left: 0;
    }

    footer .flex-wrap {
        gap: 0.75rem 1.25rem;
    }

    iframe[src*="google.com/maps"] {
        height: 300px;
    }

    #menu .gap-y-10 {
        row-gap: 0;
    }

    #menu .grid > div > .section-title.menu-category-toggle:first-child {
        margin-top: 0;
    }

    #menu .section-title.menu-category-toggle {
        margin-top: 1rem;
        padding: 0.85rem 0;
    }

    #menu .menu-item-new {
        margin-bottom: 0.75rem;
    }
}
