/* Keeps the main search decision compact, explicit and usable before location details. */
.garage-service-intent {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.garage-service-intent legend {
    margin-bottom: 9px;
    color: #073b4c;
    font-size: 14px;
    font-weight: 700;
}

.garage-service-intent__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.garage-service-intent__option {
    margin: 0;
    cursor: pointer;
}

.garage-service-intent__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.garage-service-intent__option span {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 9px 5px;
    color: #315568;
    background: #f7fafc;
    border: 1px solid #d9e4ea;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.garage-service-intent__option i {
    color: #00768a;
    font-size: 18px;
}

.garage-service-intent__option input:checked + span {
    color: #05354c;
    background: #fff8df;
    border-color: #ffb703;
    box-shadow: 0 0 0 2px rgba(255, 183, 3, .16);
}

.garage-service-intent__option input:focus-visible + span {
    outline: 3px solid rgba(0, 118, 138, .25);
    outline-offset: 2px;
}

@media (max-width: 420px) {
    .garage-service-intent__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .garage-service-intent__option span {
        min-height: 54px;
        flex-direction: row;
    }
}

/* Presents intent as a small editable filter without competing with distance search. */
.garage-intent-filter__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.garage-intent-filter__option {
    min-height: 40px;
    padding: 7px 8px;
    color: #315568;
    background: #fff;
    border: 1px solid #d8e2e8;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
}

.garage-intent-filter__option:hover,
.garage-intent-filter__option:focus-visible {
    color: #006f82;
    border-color: #00768a;
}

.garage-intent-filter__option.is-active {
    color: #05354c;
    background: #fff8df;
    border-color: #ffb703;
    box-shadow: inset 0 0 0 1px #ffb703;
}

.aon-search-result-title p {
    margin: 4px 0 0;
    color: #5f7180;
    font-size: 13px;
}
