/* Einheitliche, abgerundete Dropdowns im Storefront (siehe storefront/partials/custom-select.blade.php) */
.lup-cselect { position: relative; width: 100%; }

    .lup-cselect-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        cursor: pointer;
        position: relative;
        -webkit-appearance: none;
        appearance: none;
        background-image: none !important;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

    .lup-cselect-trigger:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(59, 130, 246, .35);
    }

    .lup-cselect-trigger::after {
        content: '';
        position: absolute;
        right: .75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1.1em;
        height: 1.1em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        transition: transform .15s ease;
        opacity: .85;
    }

    .lup-cselect-trigger:hover { box-shadow: 0 0 0 2px rgba(148, 163, 184, .18); }

    .lup-cselect.open .lup-cselect-trigger::after { transform: translateY(-50%) rotate(180deg); }
    .lup-cselect.open .lup-cselect-trigger { box-shadow: 0 0 0 2px rgba(59, 130, 246, .35); }

    /* Die Liste liegt im <body> und wird fest am Trigger positioniert. Nur so
       entkommt sie overflow:hidden und Stacking-Kontexten der Karten. */
    .lup-cselect-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 2147483000;
        box-sizing: border-box;
        max-height: 16rem;
        overflow-y: auto;
        border-radius: .75rem;
        border: 1px solid rgba(148, 163, 184, .5);
        box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
        padding: .25rem;
    }

    .lup-cselect-list.open { display: block; }

    .lup-cselect-item {
        padding: .55rem .75rem;
        border-radius: .5rem;
        cursor: pointer;
        font-size: inherit;
        line-height: 1.35;
        transition: background-color .12s ease;
        white-space: normal;
    }

    .lup-cselect-item:hover,
    .lup-cselect-item.active { background-color: rgba(127, 127, 127, .18); }

    .lup-cselect-item.selected { font-weight: 600; }
    .lup-cselect-item.placeholder { opacity: .6; }

    select.lup-cselect-native {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
