/* Wyszukiwarka na stronie głównej — rozszerzenie projektu RedFocus 2026 Exact. */
.rf-search {
    padding-top: 104px;
    padding-bottom: 38px;
}

.rf-search-heading {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: end;
    gap: 42px 70px;
    margin-bottom: 38px;
}

.rf-search-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -16px;
}

.rf-search-heading h2 {
    max-width: 820px;
    margin: 0;
    color: var(--ink);
    letter-spacing: -.055em;
    text-transform: uppercase;
    font-size: clamp(42px, 4.5vw, 68px);
    line-height: 1;
}

.rf-search-heading h2 em {
    color: var(--red);
    font-style: normal;
}

.rf-search-heading > p:last-child {
    margin: 0 0 7px;
    color: #667087;
    font-size: 15px;
    line-height: 1.7;
}

.rf-search-shell {
    position: relative;
    padding: clamp(22px, 3.2vw, 44px);
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 4%, rgba(242, 37, 60, .10), transparent 30%),
        linear-gradient(145deg, #f7f8fb 0%, #fff 62%);
    border: 1px solid rgba(14, 22, 43, .10);
    box-shadow: 0 28px 70px rgba(14, 22, 43, .09);
}

.rf-search-shell::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 92px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--orange));
}

.rf-search-shell > * {
    position: relative;
    z-index: 1;
}

.rf-search-unavailable {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 120px;
    color: #667087;
}

.rf-search-unavailable strong {
    color: var(--navy);
    font-size: 18px;
}

.rf-search + .products {
    padding-top: 92px;
}

.rf-search-shell form,
.rf-search-shell table,
.rf-search-shell img,
.rf-search-shell input,
.rf-search-shell select,
.rf-search-shell textarea,
.rf-search-shell button {
    max-width: 100%;
}

@media (max-width: 820px) {
    .rf-search {
        width: min(100% - 32px, 1240px);
        padding-top: 76px;
        padding-bottom: 10px;
    }

    .rf-search-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .rf-search-heading .eyebrow {
        margin-bottom: 0;
    }

    .rf-search-heading h2 {
        font-size: 39px;
    }

    .rf-search-shell {
        padding: 18px;
    }

    .rf-search + .products {
        padding-top: 72px;
    }
}
