/* ============================================
   NOWOCZESNA WYSZUKIWARKA - PIXABAY STYLE
   ============================================ */

/* Tło hero pod wyszukiwarkę - UKRYTE NA STRONIE GŁÓWNEJ */
.ff-search-hero {
    display: none !important; /* Ukryte - mamy wyszukiwarkę w topbarze */
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Usunięcie półkolistych kształtów (pozostałości graficzne) */
.ff-search-hero::before,
.ff-search-hero::after,
.ff-section::before,
.ff-section::after,
.ff-hero::before,
.ff-hero::after,
#page::before,
#page::after,
#bodyWrapper::before,
#bodyWrapper::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.ff-search-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ff-search-hero__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #ffffff;
}

.ff-search-hero__subtitle {
    margin: 0 0 18px;
    font-size: 14px;
    color: #c5c8d2;
}

/* Sama piguła wyszukiwarki */
.ff-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 14px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Ikona lupy */
.ff-search-bar__icon {
    flex: 0 0 auto;
    font-size: 18px;
    color: #f8f8f8;
    margin-left: 2px;
}

/* Input */
.ff-search-bar__input {
    flex: 1 1 auto;
    border: none;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    min-width: 0;
}

.ff-search-bar__input::placeholder {
    color: #d1d4de;
}

/* Przycisk */
.ff-search-bar__button {
    flex: 0 0 auto;
    border: none;
    border-radius: 999px;
    background: #e53935;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    cursor: pointer;
    transition: background 0.15s ease-out, transform 0.1s ease-out;
}

.ff-search-bar__button:hover {
    background: #f45151;
    transform: translateY(-1px);
}

/* Pudełko z podpowiedziami */
.ff-search-suggestions {
    position: relative;
    margin-top: 8px;
    text-align: left;
}

/* Dropdown z podpowiedziami */
.ff-search-suggestions__panel {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 900px;
    max-height: 320px;
    overflow-y: auto;
    background: #1d1f26;
    border-radius: 18px;
    padding: 10px 0;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    z-index: 25;
}

.ff-search-suggestions__group-title {
    padding: 4px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9fa5b4;
}

/* Wiersz podpowiedzi */
.ff-search-suggestions__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #f5f5f5;
}

.ff-search-suggestions__item:hover {
    background: #262934;
}

/* miniatura zdjęcia */
.ff-search-suggestions__thumb {
    width: 36px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

/* autor / tag */
.ff-search-suggestions__meta {
    font-size: 11px;
    color: #b3b9c5;
}

/* Responsive */
@media (max-width: 768px) {
    .ff-search-hero {
        padding: 20px 12px 16px;
    }
    
    .ff-search-hero__title {
        font-size: 22px;
    }
    
    .ff-search-hero__subtitle {
        font-size: 12px;
    }
    
    .ff-search-bar {
        padding: 8px 12px;
    }
    
    .ff-search-bar__input {
        font-size: 14px;
    }
    
    .ff-search-bar__button {
        padding: 6px 16px;
        font-size: 13px;
    }
}

/* Desktop - lepsze wycentrowanie */
@media (min-width: 769px) {
    .ff-search-hero {
        padding: 50px 20px 40px;
        min-height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


