@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@600;700&family=DM+Sans:wght@400;500&display=swap');

.hp-navbar-search {
    --hp-yellow: #FFD02E;
    --hp-yellow-deep: #FFC700;
    --hp-ink: #1A1A1A;
    --hp-muted: #666666;
    --hp-shell: #FFF9E6;
    --hp-surface: #FFFFFF;
    --hp-border: #E0E0E0;
    --hp-info: #0066CC;
    background: radial-gradient(circle at 12% 15%, rgba(255, 208, 46, 0.18), transparent 28%), linear-gradient(135deg, var(--hp-shell), #ffffff);
    padding: 18px 20px;
    font-family: 'Epilogue', 'DM Sans', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-nav-shell {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--hp-surface);
    border: 1px solid rgba(26, 26, 26, 0.05);
    border-radius: 18px;
    padding: 12px 16px;
    box-shadow: 0 14px 40px rgba(26, 26, 26, 0.08);
}

.hp-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--hp-ink);
    border-radius: 12px;
    margin-right: -8px;
    transition: background 0.2s;
}

.hp-hamburger:hover {
    background: rgba(26, 26, 26, 0.05);
}

.hp-hamburger svg {
    width: 24px;
    height: 24px;
}

.hp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    text-decoration: none;
    color: var(--hp-ink);
}

.hp-brand-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hp-yellow), var(--hp-yellow-deep));
    color: var(--hp-ink);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px rgba(255, 208, 46, 0.35);
}

.hp-brand-wordmark {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;
}

.hp-brand-title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hp-brand-subline {
    font-size: 12px;
    color: var(--hp-muted);
    letter-spacing: 0.02em;
}

.hp-nav-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.hp-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.hp-search-shell {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(120deg, #ffffff, rgba(255, 249, 230, 0.72));
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 28px rgba(26, 26, 26, 0.06);
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 208, 46, 0.22);
    color: var(--hp-ink);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    white-space: nowrap;
}

.hp-chip svg {
    width: 16px;
    height: 16px;
    color: var(--hp-ink);
}

.hp-field {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.hp-field svg {
    width: 18px;
    height: 18px;
    color: var(--hp-info);
    flex-shrink: 0;
}

.hp-field input,
.hp-field select {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 15px;
    color: var(--hp-ink);
}

.hp-field select {
    padding-right: 12px;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--hp-muted) 50%), linear-gradient(135deg, var(--hp-muted) 50%, transparent 50%);
    background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
    color: var(--hp-muted);
    font-weight: 500;
}

.hp-divider {
    width: 1px;
    height: 36px;
    background: var(--hp-border);
    flex-shrink: 0;
}

.hp-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--hp-yellow), var(--hp-yellow-deep));
    color: var(--hp-ink);
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(255, 208, 46, 0.35);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.hp-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(255, 199, 0, 0.35);
}

.hp-submit svg {
    width: 18px;
    height: 18px;
    color: var(--hp-ink);
}

.filter-chip-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 2px 2px;
    border-bottom: 1px solid var(--hp-border);
    margin-left: 4px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--hp-muted);
    font-size: 14px;
    line-height: 1;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.filter-chip .icon {
    font-size: 16px;
    line-height: 1;
}

.btn-check:checked + .filter-chip,
.filter-chip.is-active {
    color: #174ea6;
    background: #e8f0fe;
    border-color: rgba(0, 102, 204, 0.35);
    box-shadow: inset 0 -2px 0 #174ea6;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    border-color: var(--hp-border);
    background: rgba(26, 26, 26, 0.04);
    outline: none;
}

.filter-chip-row .dropdown-toggle::after {
    display: none;
}

.filter-chip-row .dropdown-menu {
    border-radius: 14px;
    border: 1px solid var(--hp-border);
    min-width: 260px;
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1080px) {
    .hp-nav-shell {
        flex-direction: column;
        align-items: stretch;
    }

    .hp-brand {
        margin-bottom: 12px;
    }

    .hp-hamburger {
        position: absolute;
        top: 24px;
        left: 24px;
    }
}

@media (max-width: 768px) {
    .hp-nav-shell {
        padding: 14px 12px;
    }

    .hp-search-row {
        flex-wrap: wrap;
    }

    .hp-search-shell {
        flex-wrap: wrap;
    }

    .hp-chip {
        width: 100%;
        justify-content: center;
    }

    .hp-divider {
        display: none;
    }

    .hp-submit {
        width: 100%;
        justify-content: center;
    }

    .filter-chip-row {
        border-bottom: none;
        padding: 0;
    }
}
