/* The theme sets form fields to font-weight 600; sort dropdowns match the filter labels everywhere. */
.jet-sorting-select {
    font-weight: 400;
}

/* Scoped to the category and homepage filter rows configured by setup/categories.php and setup/homepage.php. */
.elementor .tessloff-category-controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    min-height: 50px;
}
.elementor .tessloff-category-controls > .elementor-element {
    position: relative;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    --container-widget-width: 100%;
}
.tessloff-category-controls .jet-sorting-select {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    border: 1px solid #d5d8dc;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 16px;
    padding: 10px 30px 10px 12px;
}
.tessloff-category-controls .e-n-accordion-item-title {
    min-height: 46px;
    padding: 10px 12px;
}
.tessloff-category-controls .e-n-accordion-item-title-text {
    font-size: 16px;
}
@media (max-width: 767px) {
    .elementor .tessloff-category-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .tessloff-category-controls .jet-sorting-select,
    .tessloff-category-controls .e-n-accordion-item-title-text {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    /* Keep the full German option labels readable on narrow phones. */
    .elementor .tessloff-category-controls {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Empty-listing message configured in the seven product grids by setup/no-results.php. */
.elementor-loop-container > .jet-smart-filters-elementor-loop-no-result {
    grid-column: 1 / -1;
}
.tessloff-no-results {
    border: 1px solid #d5d8dc;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    padding: 16px 20px;
}
.tessloff-no-results p {
    margin: 0;
}
.tessloff-no-results__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px !important;
    font-weight: 700;
}
.tessloff-no-results__title::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
