﻿section.search-catalog-page {
    margin-top: 30px;
    min-height: 60vh;
}

.hero__form {
    max-width: 1069px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, 0.10), 0px 1px 4px 0px rgba(12, 12, 13, 0.05);
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

    .hero__form h2 {
        text-align: center;
        font-size: 18px;
    }

.hero__form-box {
    margin-top: 27px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.hero__form-block {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.hero__form-name {
    width: 100%;
    max-width: 349px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .hero__form-name h3 {
        font-size: 18px;
    }

    .hero__form-name p {
        font-size: 16px;
        font-weight: 400;
        line-height: 125%;
        letter-spacing: 0.08px;
    }

.hero__form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .hero__form-content input {
        border-radius: 5px;
        border: 1px solid var(--color-light-blue-gray);
        background: var(--color-white);
        width: 100%;
        padding: 11px 5px 11px 13px;
    }

    .hero__form-content select {
        color: rgba(25, 25, 25, 0.50);
        outline: none;
        border-radius: 5px;
        border: 1px solid var(--color-light-blue-gray);
        padding: 11px 32px 11px 13px;
        background-color: var(--color-white);
        width: 100%;
        font-family: var(--font-family);
        font-size: 16px;
        font-weight: 400;
        line-height: 125%;
        letter-spacing: 0.08px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.325436 0.893938C0.759353 0.479744 1.46287 0.479744 1.89678 0.893938L5 3.85609L8.10321 0.893937C8.53713 0.479744 9.24065 0.479744 9.67456 0.893937C10.1085 1.30812 10.1085 1.97965 9.67456 2.39385L5.78566 6.10598C5.35176 6.52017 4.64825 6.52017 4.21433 6.10598L0.325436 2.39385C-0.108479 1.97966 -0.108479 1.30812 0.325436 0.893938Z' fill='%23191919' fill-opacity='0.4'/%3E%3C/svg%3E");
        background-position: right 13px center;
        background-repeat: no-repeat;
        background-size: 10px 6px;
    }

.hero__form-middle {
    width: 100%;
    max-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    .hero__form-middle::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        bottom: 0;
        background-color: var(--color-light-blue-gray);
        width: 1px;
        height: 100%;
        z-index: -1;
    }

    .hero__form-middle span {
        color: var(--color-gray);
        font-size: 14px;
        font-weight: 700;
        line-height: 120%;
        border-radius: 10px;
        border: 1px solid var(--color-light-blue-gray);
        background: var(--color-white);
        padding: 8px 10px;
    }

.hero__form-btn {
    margin-top: 20px;
    width: 100%;
    border-radius: 5.625px;
    background: var(--color-dark);
    text-align: center;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    padding: 14px;
    border: none;
    outline: none;
    transition: all .1s ease;
    min-height: 45px;
}

    .hero__form-btn:active {
        background-color: rgba(25, 25, 25, 0.5);
    }

    .hero__form-btn.on-mobile {
        display: none;
    }

@media (max-width: 1279px) {
    .hero__form {
        max-width: 879px;
    }
}

@media (max-width: 999px) {
    .hero__form {
        max-width: 648px;
    }

    .hero__slide {
        min-height: 370px;
    }
}

@media (max-width: 767px) {
    .hero {
        margin-top: 33px;
    }

    .hero__form {
        max-width: 422px;
        width: 92.756%;
        padding: 30px 15px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .hero__form-box {
        flex-direction: column;
        margin-top: 0px;
    }

    .hero__form-middle {
        max-width: 100%;
    }

        .hero__form-middle::before {
            left: 0;
            transform: translateY(-50%);
            top: 50%;
            bottom: initial;
            right: 0;
            width: 100%;
            height: 1px;
        }

        .hero__form-middle span {
            font-size: 12px;
        }

    .hero__form-name h3 {
        font-size: 16px;
        max-width: 288px;
    }

    .hero__form-name p {
        font-size: 14px;
        line-height: normal;
        letter-spacing: 0;
    }

    .hero__form-content,
    .hero__form-block:last-of-type {
        gap: 16px;
    }

    .hero__form-btn {
        margin-top: 0;
    }

        .hero__form-btn.on-mobile {
            display: inline-block;
        }
}
