@import url("horizontal_tire_list--FjJYpc.css");
@import url("homepage_vertical_tire_list-cFKCYqD.css");
@import url("promoted-products-u16Pvp8.css");
@import url("_brands_grid-WIlAsvY.css");

.homepage-title {
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 300;
}

.homepage-search-section {
    background-color: #F5F5F5;
    border: 1px solid lightgray;
}

.homepage-search-section .search-title {
    font-size: 2rem;
    font-weight: 500;
}

.search_and_filter_form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search_and_filter_form label {
    font-weight: 400;
}

.search_and_filter_form input,
.search_and_filter_form select {
    font-size: 1.3rem;
}

.search_and_filter_form .separator {
    color: black;
    font-size: 1.8rem;
    font-weight: 500;
    padding-bottom: 20px;
}

.search_and_filter_form .input-group-text {
    font-size: 1.4rem;
    font-weight: 500;
    padding: 0 0.8rem;
}

.search_and_filter_form .form-control,
.search_and_filter_form .form-select {
    font-weight: 400;
    color: black;
}

.search_and_filter_form .constructionTypeLabel {
    display: none;
}

h2.section-title {
    text-transform: uppercase;
    font-size: 1.8rem;
}

.search_and_filter_form .form-control::placeholder {
    opacity: 0.5;
    font-weight: 400;
}

.about-section {
    background: #e0dde3;
}

.about-section h2 {
    font-size: 1.4rem;
}

.about-section p {
    margin-bottom: 0.5rem;
}

.about-section a {
    color: var(--bs-body-color);
    text-decoration: underline;
}

.about-section a:hover {
    text-decoration: none;
}

.nav.nav-tabs button {
    font-size: 1.1rem;
}

.nav.nav-tabs .nav-link {
    color: var(--bs-body-color);
}


.tire-tests-section .tire-test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2.5em;
}

.tire-tests-section .tire-test-item img {
    max-width: 100%;
    border-radius: var(--bs-border-radius);
}

.tire-tests-section .title {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
}



.tire-tests-section a {
    color: #212529;
    text-decoration: none;
}

.tire-tests-section a:hover .tire-test-item .title {
    text-decoration: underline;
}


@media (max-width: 767.98px) {
    .search_and_filter_form {
        display: block;
    }

    .search_and_filter_form .form-fields {
        display: block;
    }

    .search_and_filter_form .constructionTypeLabel {
        display: block;
    }

    .tire-tests-section .tire-test-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
}

@media (min-width: 767.98px) {
    .search_and_filter_form .rimDiameter {
        width: 80px;
    }

    .search_and_filter_form .width,
    .search_and_filter_form .aspectRatio {
        width: 100px;
    }

}