body.single-product form.cart .sonnia-fastening {
    display: block;
    border: 0;
    padding: 0;
    margin: 18px 0 22px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 0 0 100%;
    clear: both;
}
body.single-product.sonnia-fastening-page form.cart,
body.single-product.sonnia-fastening-page .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
body.single-product form.cart .sonnia-fastening legend {
    float: none;
    padding: 0;
    margin: 0 0 10px;
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: inherit;
}
body.single-product .sonnia-fastening-required {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    font-weight: 400;
    color: #737373;
}
body.single-product .sonnia-fastening.has-selection .sonnia-fastening-required { visibility: hidden; }
body.single-product .sonnia-fastening-options { display: flex; flex-wrap: wrap; gap: 10px; }
body.single-product .sonnia-fastening-option {
    position: relative;
    display: block;
    flex: 0 1 160px;
    min-width: 118px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}
body.single-product .sonnia-fastening-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    clip: rect(0,0,0,0);
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border: 0;
}
body.single-product .sonnia-fastening-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #b7b1aa;
    background: #fff;
    color: #47433f;
    box-sizing: border-box;
    border-radius: 2px;
    font-family: inherit;
    text-transform: none;
}
body.single-product .sonnia-fastening-option input:checked + span {
    border-color: #4e4944;
    background: #f5f2ed;
    box-shadow: inset 0 0 0 1px #4e4944;
}
body.single-product .sonnia-fastening-option input:checked + span::before { content: '✓'; font: 15px/1 Arial,sans-serif; }
body.single-product .sonnia-fastening-option input:focus-visible + span { outline: 2px solid #7b6450; outline-offset: 3px; }
body.single-product form.cart .sonnia-fastening .sonnia-fastening-error {
    margin: 8px 0 0;
    color: #a23a30;
    font-size: 12px;
    line-height: 1.5;
}
body.single-product .sonnia-fastening-error[hidden] { display: none !important; }
/* Do not offer a product-page wallet purchase until the required choice exists. */
body.single-product.sonnia-fastening-pending .summary .wcpay-express-checkout-wrapper { display: none !important; }
@media(max-width: 600px) {
    body.single-product .sonnia-fastening-option { flex: 1 1 120px; max-width: 200px; font-size: 14px; }
    body.single-product form.cart .sonnia-fastening legend { font-size: 14px; }
}
