/**
 * Fix button specificity issues
 * Ensures interactive elements aren't affected by menu styles
 */

/* Reset button styles for non-navigation buttons */
button:not(.wp-block-navigation__responsive-container-open):not(.wp-block-navigation__responsive-container-close) {
    background-color: initial;
    border: initial;
    color: initial;
}

/* Ensure map buttons and other interactive elements work */
.interactive-map button,
.map-container button,
.gm-control-container button,
.filter-button,
.reset-button,
.search-button,
.btn,
.button,
form button[type="submit"] {
    /* Reset any inherited styles */
    all: revert;
    /* Then apply intended styles */
    cursor: pointer;
}

/* Fix any z-index issues */
.interactive-map,
.map-container,
#map {
    position: relative;
    z-index: 1;
}

/* Ensure Google Maps controls are clickable */
.gm-control-container,
.gmnoprint {
    z-index: 10 !important;
}

/* Make sure filter buttons on trek page work */
.trek-filters button,
.apply-filters,
.reset-filters {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Hero section buttons should not be affected */
.hero-buttons .btn {
    pointer-events: auto !important;
    cursor: pointer !important;
}