.darker-btn {
    background-color: rgba(0, 0, 0, .2);
}

.product-selector-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.product-selector-item {
    max-width: 75px;
    border: 1px solid black;
    padding: 5px;
    border-radius: 4px;
    cursor:pointer;
}

.product-selector-item.active {
    border: 3px solid black;
}

.product-selector-item img {
    max-width: 100%;
}

.product-selector-text {
    display: none;
    text-align: center;
    font-weight:700;
    font-size: 9px;
}

.form-label {
    font-weight: 700;
    font-size: 16px;
}

.custom-select {
    position: relative;
    width: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* The "Select Box" Trigger */
.select-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0.375rem 2.5rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: none; /* Remove previous SVG */
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: pointer;
}

.select-trigger::after {
    content: "\f078"; /* FontAwesome Chevron-Down Unicode */
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* Required for 'Solid' icons */
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.8rem;
    pointer-events: none; /* Icon won't block clicks */
    transition: transform 0.2s ease;
}

.select-trigger:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.custom-select.active .select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

/* The Dropdown List */
.options-list {
    position: absolute;
    z-index: 1000;
    display: none;
    width: 100%;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.175);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}

/* Individual Options */
.options-list li {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}

.options-list li:hover {
    background-color: #e9ecef;
    color: #1e2125;
}

/* Style for the deactivated/disabled state */
.options-list li.deactivated {
    color: #adb5bd; /* Bootstrap $gray-500 */
    background-color: transparent;
    cursor: not-allowed;
    pointer-events: none; /* Prevents click events from firing */
    opacity: 0.65;
}

/* Ensure hover effect doesn't trigger on deactivated items */
.options-list li.deactivated:hover {
    background-color: transparent;
    color: #adb5bd;
}

.product-selector-item.deactivated {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.product-selector-item.deactivated img {
    opacity: 0.6;
}

.product-selector-item.deactivated .product-selector-text {
    color: #999;
}

/* Small devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) { } */

/* Medium devices (tablets, 768px and up) */
/* @media (min-width: 768px) { } */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px){
    .product-selector-item {
        max-width: 100px;
    }
    .product-selector-text {
        display:block;
    }
}

/* X-Large Devices*/
@media (min-width: 1200px) {
    .product-selector-item {
        max-width: 100px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
/* @media (min-width: 1400px) {} */