/* Vehicle Features Component */

.w2r-vehicle-features {
    display: flex;
    flex-wrap: wrap;
    /* Allow items to wrap to new rows */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    gap: 0.75em 1.5em;
    /* Add space between items (row/col) */
    font-size: 1rem;
    min-height: 2.5em;
    /* Optional: ensure some vertical space */
}

.w2r-vehicle-features span {
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
    flex-direction: column;
    font-size: 12px;
    justify-items: center;
    align-items: center;
    color: var(--color-text-detail);
    gap: 5px;
}

.w2r-feature-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: var(--color-text-theme)
}

@media (max-width: 768px) {
    .w2r-vehicle-features span {
        font-size: 11px;
    }

    .w2r-feature-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 375px) {
    .w2r-vehicle-features span {
        font-size: 10px;
    }

    .w2r-feature-icon {
        width: 16px;
        height: 16px;
    }
}