
/* State Dropdown (for screens up to 1200px) */
.state-dropdown-container {
    display: none;
    margin: 2em 0;
    text-align: center;
}

.state-dropdown {
    width: 100%;
    max-width: 400px;
    padding: 1em;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: white;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    padding-right: 3em;
}

.state-dropdown:hover {
    border-color: rgba(255, 255, 255, 1);
}

.state-dropdown option {
    background-color: #464646;
    color: white;
}

/* Footer Locations - State Buttons Grid (5 columns per row) */
.btn-state-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 2em 0;
}

.footer-locations .btn-state {
    transition: all .2s ease;
    font-family: "Nunito Sans";
    font-weight: 900;
    font-size: 1em;
    line-height: 1.375em;
    letter-spacing: .03125em;
    position: relative;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 0;

    color: #fff;
    background: linear-gradient(90deg, #ADD261 0%, #77B336 100%);
    border: 0px;
    padding: 13px 27px 13px;

    text-align: center;
    background: transparent;
    border: 1px solid white;
}

.footer-locations .btn-state:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 0;
    height: 100%;
    border-radius: 3px;
    z-index: -1;
    background: var(--lime);
    transition: all .2s ease;
}
.footer-locations .btn-state:hover {
    color: #464646;
}
.footer-locations .btn-state:hover:before {
    width: 100%;
}

/* Show dropdown and hide buttons on screens up to 1200px */
@media screen and (max-width: 1200px) {
    .state-dropdown-container {
        display: block;
    }
    
    .btn-state-container {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .btn-state-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .btn-state-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 400px) {
    .btn-state-container {
        grid-template-columns: 1fr;
    }
}

/* Dynamic city list container */
.wrap-city-list-dynamic {
    display: none;
    margin-top: 2em;
    padding: 1em 0;
}

.wrap-city-list-dynamic,
.wrap-city-list-flex {
    padding: 0px;
}

/* Hide state data containers */
.state-data {
    display: none !important;
}


.wrap-city-list-dynamic .wrap-list-col a {
    font-weight: bold;
}

.footer-locations {
    border-bottom: 1px solid #fff;
}
