/** Customer-facing extra-option dropdowns. */
.jgeo_cart_option_container {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 20px 0 12px;
    box-sizing: border-box;
}
.jgeo_cart_option_container .jgeo_product_cart_option_select {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 18px;
    border: 1px solid #cbd2d9;
    border-radius: 10px;
    background: #fff;
    color: #263238;
    box-shadow: 0 2px 4px rgb(16 24 40 / 4%);
    font: inherit;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.jgeo_cart_option_container .jgeo_product_cart_option_select:hover {
    border-color: #8795a1;
    background: #fafbfc;
}
.jgeo_cart_option_container .jgeo_product_cart_option_select[aria-expanded="true"],
.jgeo_cart_option_container .jgeo_product_cart_option_select:focus-visible {
    border-color: #2271b1;
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}
.jgeo_cart_option_container .jgeo_product_cart_options {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(320px, 50vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
    border: 1px solid #dce2e8;
    border-radius: 10px;
    background: #fff;
    color: #263238;
    box-shadow: 0 12px 28px rgb(16 24 40 / 14%);
    box-sizing: border-box;
    z-index: 100;
}
.jgeo_cart_option_container .jgeo_product_cart_options_show { display: block; }
.jgeo_cart_option_container .jgeo_product_cart_options label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    margin: 0;
    border-radius: 6px;
    font-size: .95em;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
    box-sizing: border-box;
}
.jgeo_cart_option_container .jgeo_product_cart_options label:hover { background: #f3f6f9; }
.jgeo_cart_option_container .jgeo_product_cart_options label:has(input:checked) { background: #edf5fc; }
.jgeo_cart_option_container .jgeo_product_cart_options label:focus-within { outline: 2px solid #2271b1; outline-offset: -2px; }
.jgeo_cart_option_container .jgeo_product_cart_options input[type="checkbox"] {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0 4px 0 0;
    accent-color: #2271b1;
}
.jgeo_cart_option_container .jgeo_product_cart_options label > input + span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jgeo_cart_option_container .jgeo_product_cart_options label.jgeo_option_soldout { cursor: not-allowed; }
.jgeo_product_cart_options_arrow {
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-right: 3px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}
.jgeo_product_cart_options_arrow_up { transform: rotate(225deg) translate(-2px, -2px); }
#jgeo_product_cart_selected:not(:empty) { margin: 0 0 16px; color: #52616b; font-size: .9em; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) {
    .jgeo_cart_option_container .jgeo_product_cart_option_select,
    .jgeo_product_cart_options_arrow { transition: none; }
}
