/* Category picker shown directly on a combo card (right-hand "ZESTAW ..." list),
   above the product title — only when that slot's product list spans more than
   one product_cat. Sits as the first child of .combo-product__description
   (display:grid, see product-card.css): a "Wybierz kategorię" label with the
   select inline to its right, defaulting to the first category (no placeholder
   option — browsers select the first <option> automatically). */
.combo-list-category-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    min-width: 0;
}

.combo-list-category-picker__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    white-space: nowrap;
    flex: 0 0 auto;
}

.combo-list-category-select {
    /* size to its own content (the category name), not the flex row's full
       width — <select> doesn't shrink-to-fit on its own inside a flex item */
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 10px;
    border: solid 1px var(--border-color);
    padding: 6px 28px 6px 10px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-black);
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23000' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 10px center;
    cursor: pointer;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.combo-list-category-select:hover,
.combo-list-category-select:focus {
    border-color: var(--color-green);
    outline: none;
}

.combo-list-category-select:disabled {
    opacity: .6;
    cursor: wait;
}
