/*
 * KITTEC product selector — ADVISOR FORM styling only.
 * (Result cards are styled by the Search stylesheet, search-results.css, so the
 * advisor cards look identical to the site search results.)
 * Based on the colleague's advisor-page layout: a responsive 5-up question grid.
 */

.kittec-filter-form {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 60px;
    box-sizing: border-box;
    background: #f8f8f8;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: end;
}

.kittec-filter-form .filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kittec-filter-form .filter-description {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    min-height: 40px;
}

.kittec-filter-form select,
.kittec-filter-form input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff6600' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.kittec-filter-form input[type="number"] {
    background-image: none;
}

.kittec-filter-form select:focus,
.kittec-filter-form input[type="number"]:focus {
    outline: none;
    border-color: #ff6600;
}

.kittec-apply-filters {
    width: 100%;
    padding: 13px 20px;
    background-color: #ff6600;
    color: #fff;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #ff6600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    align-self: end;
}

.kittec-apply-filters:hover {
    background-color: #fff;
    color: #ff6600;
}

@media (max-width: 1024px) {
    .kittec-filter-form {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px 40px;
    }
}

@media (max-width: 600px) {
    .kittec-filter-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Small spacing above the results grid */
.search-results-grid {
    margin-top: 30px;
}

/* Selector cards carry no "PRODUKT" type-badge (this page only returns products),
   so keep the lone "[weiterlesen]" link right-aligned. Scoped to the selector grid
   so the main Search results are unaffected. */
.kittec-selector-results .card-footer {
    justify-content: flex-end;
}
