.ski-storefront .product-info .ski-product-options .variations {
    display: block;
    margin-bottom: 12px;
}

.ski-storefront .product-info .ski-product-options .variations :is(tbody, tr, th, td) {
    display: block;
    max-width: none;
    padding: 0;
    text-align: start;
}

.ski-storefront .product-info .ski-product-options .variations tr + tr {
    margin-top: 16px;
}

.ski-storefront .product-info .ski-product-options .variations th label {
    display: inline-block;
    margin: 0 0 8px;
    color: #202326;
    font-size: 14px;
    font-weight: 700;
}

.ski-product-options .variations select[hidden] {
    display: none;
}

.ski-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ski-variation-option {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.ski-variation-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ski-variation-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid #8e969f;
    border-radius: 4px;
    background: #fff;
    color: #202326;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}

.ski-variation-option:hover input:not(:disabled) + span {
    border-color: #b91e31;
}

.ski-variation-option input:checked + span {
    border-color: #b91e31;
    background: #fff0f2;
    color: #9c1a2c;
    box-shadow: inset 0 0 0 1px #b91e31;
}

.ski-variation-option input:focus-visible + span {
    outline: 2px solid #b91e31;
    outline-offset: 2px;
}

.ski-variation-option input:disabled {
    cursor: not-allowed;
}

.ski-variation-option input:disabled + span {
    border-color: #dce0e3;
    background: #f3f5f6;
    color: #555b61;
    text-decoration: line-through;
    box-shadow: none;
}

.ski-storefront .product-info .ski-product-options .variations .reset_variations {
    display: inline-block;
    margin: 6px 0 0;
    padding-block: 4px;
    color: #555b61;
    text-decoration: underline;
    text-underline-offset: 2px;
}
