.searchForm {
    background: var(--c-gray-50);
    margin-bottom: 80px;
    padding-block: 40px 60px;
}

@media screen and (max-width: 992px) {
    .searchForm {
        padding-block: 40px 50px;
    }
}

@media screen and (max-width: 767px) {
    .searchForm {
        margin-bottom: 40px;
    }
}

.searchForm__wrapper {
    display: grid;
    margin-inline: auto;
    row-gap: 40px;
    width: min(100%, 900px);
}

@media screen and (max-width: 992px) {
    .searchForm {
        padding-inline: 18px;
    }
}

.searchForm__group {
    border: none;
}

.searchForm__parent {
    color: var(--c-primary);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding-bottom: 16px;
}

.searchForm__labels {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

@media screen and (max-width: 992px) {
    .searchForm__labels {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .searchForm__labels {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .searchForm__labels {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
}

.searchForm__label {
    border: 1px solid;
    color: var(--c-primary);
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 15px 15px 15px 0;
    transition: background 0.2s;
    width: min(100%, 289px);
}

@media (any-hover: hover) {
    .searchForm__label:hover {
        background: var(--c-primary);
        color: var(--c-white);
        transition: background 0.2s;
    }

    .searchForm__label:hover::after {
        content: url("../images/common/icon-arrowRight_white.svg");
    }
}

@media screen and (max-width: 640px) {
    .searchForm__label {
        width: 100%;
    }
}

.searchForm__label::after {
	display: none;
    content: url("../images/common/icon-arrowRight_blue.svg");
    justify-self: end;
    line-height: 0.8;
}

.searchForm__checkbox {
    appearance: none;
    height: 100%;
    width: 100%;
}

.searchForm__label:has(.searchForm__checkbox:checked) {
    background: var(--c-primary);
    color: var(--c-white);
}

.searchForm__label:has(.searchForm__checkbox:checked)::after {
    content: url("../images/common/icon-arrowRight_white.svg");
}

.searchForm__child {
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 576px) {
    .searchForm__child {
        font-size: 12px;
    }
}

.searchForm__button {
    column-gap: 40px;
    display: flex;
    justify-content: center;
    row-gap: 12px;
}

@media screen and (max-width: 576px) {
    .searchForm__button {
        flex-direction: column;
    }
}

.searchForm__button input,
.searchForm__button button {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    max-height: 40px;
}

@media screen and (max-width: 576px) {
    .searchForm__button input,
    .searchForm__button button {
        font-size: 12px;
        width: 100%;
    }
}

.searchForm__submitContainer {
    position: relative;
    width: min(100%, 180px);
}

@media screen and (max-width: 576px) {
    .searchForm__submitContainer {
        width: 100%;
    }
}

@media (any-hover: hover) {
    .searchForm__submit:hover {
        background: var(--c-primary);
        color: var(--c-white);
        opacity: 0.85;
        transition: opacity 0.2s;
    }
}

.searchForm__submit::after {
    content: "";
}

.searchForm__submitIcon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.searchForm__reset {
    height: 40px;
    padding-block: 0;
    width: min(100%, 220px);
}

.searchForm__reset::before {
    height: 9px;
    width: 9px;
}

.searchResult {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr;
}

.searchResult__title {
    font-size: 18px;
    line-height: 1;
}

.searchResult__list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    gap: 16px;
    line-height: 1.3;
}

@media screen and (max-width: 576px) {
    .searchResult__list {
        font-size: 14px;
    }
}

.searchResult__item:not(:last-child):after {
    content: ",";
}
