.mlqrt-textile-options { position: relative; }
.mlqrt-textile-options .mlqrt-textile-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;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.mlqrt-textile-choices { display: flex; flex-wrap: wrap; gap: 8px; margin: 5px 0 10px; }
.mlqrt-textile-choices .mlqrt-textile-choice {
    appearance: none;
    min-width: 46px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid #9ba9a8;
    border-radius: 4px;
    background: #fff;
    color: #173e42;
    font: inherit;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    box-shadow: none;
    cursor: pointer;
}
/* A touch can keep :hover active. Only unselected choices get the pale hover. */
.mlqrt-textile-choices .mlqrt-textile-choice:hover:not(:disabled):not([aria-pressed="true"]) { border-color: #0f5158; background: #eef5f4; }
.mlqrt-textile-choices .mlqrt-textile-choice[aria-pressed="true"]:not(.has-swatch),
.mlqrt-textile-choices .mlqrt-textile-choice[aria-pressed="true"]:not(.has-swatch):hover,
.mlqrt-textile-choices .mlqrt-textile-choice[aria-pressed="true"]:not(.has-swatch):focus,
.mlqrt-textile-choices .mlqrt-textile-choice[aria-pressed="true"]:not(.has-swatch):active {
    background: #0f5158;
    color: #fff;
    border-color: #0f5158;
    font-weight: 700;
}
.mlqrt-textile-choices .mlqrt-textile-choice:focus-visible { outline: 3px solid #a65332; outline-offset: 3px; }
.mlqrt-textile-choices .mlqrt-textile-choice:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.mlqrt-textile-choices.mlqrt-textile-swatches { gap:14px; }
.mlqrt-textile-choices .mlqrt-textile-choice.has-swatch {
    display:inline-flex; flex-direction:column; align-items:center; gap:8px;
    min-width:64px; padding:7px; border:0; background:transparent; color:#173e42;
}
.mlqrt-textile-swatch { display:block; width:52px; height:52px; border-radius:50%; border:1px solid #999; box-shadow:inset 0 0 0 1px rgba(0,0,0,.04); position:relative; }
.mlqrt-textile-choice.has-swatch[aria-pressed="true"] .mlqrt-textile-swatch { outline:3px solid #173e42; outline-offset:4px; }
.mlqrt-textile-choice.has-swatch[aria-pressed="true"] .mlqrt-textile-choice-label { font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.mlqrt-textile-choice.has-swatch:disabled .mlqrt-textile-swatch:after { content:""; position:absolute; width:100%; height:2px; top:50%; left:0; background:#555; transform:rotate(-45deg); }
.mlqrt-textile-choice-label { max-width:160px; overflow-wrap:anywhere; }
@media(max-width:600px) { .mlqrt-textile-choices .mlqrt-textile-choice { min-width:52px; } .mlqrt-textile-swatch { width:46px; height:46px; } }
@media (prefers-reduced-motion: no-preference) {
    .mlqrt-textile-choice { transition: background-color .12s, border-color .12s; }
}
