.product-variant-picker {
    position: relative;
    max-width: 29rem;
    margin: .75rem 0 1rem;
}
.product-variant-trigger {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 3.75rem;
    padding: .65rem .9rem;
    border: 1px solid #cbd7ea;
    border-radius: .75rem;
    background: #f7faff;
    color: #162743;
    cursor: pointer;
    list-style: none;
}
.product-variant-trigger::-webkit-details-marker { display: none; }
.product-variant-trigger:hover, .product-variant-picker[open] .product-variant-trigger { border-color: #647de5; }
.product-variant-trigger:focus-visible, .product-variant-panel a:focus-visible {
    outline: 2px solid #4059cc;
    outline-offset: 2px;
}
.product-variant-trigger-copy, .product-variant-trigger-meta { display: grid; gap: .1rem; min-width: 0; }
.product-variant-trigger-copy { flex: 1; overflow-wrap: anywhere; }
.product-variant-trigger-meta { text-align: right; flex-shrink: 0; }
.product-variant-trigger small { color: #4e5f79; font-size: .8rem; }
.product-variant-trigger-meta strong { color: #3955bd; }
.product-variant-chevron { flex: 0 0 1rem; }
.product-variant-picker[open] .product-variant-chevron { transform: rotate(180deg); }
.product-variant-panel {
    position: absolute;
    z-index: 15;
    inset: calc(100% + .35rem) 0 auto;
    padding: .5rem;
    border: 1px solid #dce4f0;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem #13284824;
}
.product-variant-search { min-height: 2.75rem; margin-bottom: .4rem; font-size: 1rem; }
.product-variant-options { max-height: min(16.5rem, 40vh); overflow-y: auto; overscroll-behavior: contain; }
.product-variant-options a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 2.75rem;
    padding: .4rem .65rem;
    border-radius: .5rem;
    color: #162743;
    overflow-wrap: anywhere;
}
.product-variant-options a:hover, .product-variant-options a[aria-current="true"] { background: #e9efff; color: #2d48b0; }
.product-variant-options small { flex-shrink: 0; color: #4e5f79; }
.product-variant-picker [hidden], .product-variant-status[hidden] { display: none !important; }
.product-variant-options p, .product-variant-status { margin: 0; padding: .5rem; color: #4e5f79; font-size: .875rem; }
