/* Style the select to match FacetWP dropdowns */
.ihm-dropdown-select {
    width: 100% !important;
    padding: 8px 36px 8px 12px !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    color: #333333 !important;
    font-size: inherit !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: border-color 0.2s, background 0.2s !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    outline: none !important;
    margin: 0 !important;
}

/* Custom arrow to match FacetWP dropdowns */
.ihm-category-navigator,
.ihm-category-dropdown {
    position: relative !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.ihm-dropdown-select {
    position: relative !important;
}
.ihm-category-navigator::after,
.ihm-category-dropdown::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #008080;
    pointer-events: none;
}

/* Hover/focus effect for select */
.ihm-dropdown-select:hover,
.ihm-dropdown-select:focus {
    border-color: #008080 !important;
    background: #f8fdfd !important;
}

/* Style the options in the dropdown */
.ihm-dropdown-select option {
    background: white !important;
    color: #333333 !important;
}
