.woocommerce div.product form.cart {
    flex-wrap: wrap;
}

.nrepo-options {
    border-bottom: 1px solid var(--nre-line, #d9d5cd);
    border-top: 1px solid var(--nre-line, #d9d5cd);
    flex: 0 0 100%;
    margin: 0 0 22px;
    padding: 24px 0 26px;
    width: 100%;
}

.nrepo-options__group {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.nrepo-options__group + .nrepo-options__group {
    margin-top: 22px;
}

.nrepo-options__group legend {
    color: var(--nre-ink, #11110f);
    float: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin: 0 0 11px;
    padding: 0;
    text-transform: uppercase;
    width: 100%;
}

.nrepo-options__choices {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nrepo-options__choice {
    cursor: pointer;
    display: block;
    margin: 0;
    min-width: 0;
    position: relative;
}

.nrepo-options__choice input {
    height: 1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.nrepo-options__choice span {
    align-items: center;
    background: transparent;
    border: 1px solid var(--nre-line, #d9d5cd);
    color: var(--nre-ink, #11110f);
    display: flex;
    font-size: 13px;
    justify-content: center;
    line-height: 1.25;
    min-height: 44px;
    padding: 9px 12px;
    text-align: center;
    transition: background-color 160ms ease, border-color 160ms ease,
        color 160ms ease;
}

.nrepo-options__choice:hover span {
    border-color: var(--nre-ink, #11110f);
}

.nrepo-options__choice input:checked + span {
    background: var(--nre-ink, #11110f);
    border-color: var(--nre-ink, #11110f);
    color: var(--nre-paper, #f7f5ef);
}

.nrepo-options__choice input:focus-visible + span {
    outline: 2px solid var(--nre-accent, #b9ff2d);
    outline-offset: 2px;
}

.nrepo-options__choice input:disabled + span {
    cursor: not-allowed;
    opacity: 0.42;
    text-decoration: line-through;
}

.nrepo-options__status {
    color: var(--nre-muted, #706d65);
    font-size: 12px;
    line-height: 1.5;
    margin: 14px 0 0;
    min-height: 18px;
}

.woocommerce div.product form.cart .single_add_to_cart_button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

@media (min-width: 620px) {
    .nrepo-options__choices {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .nrepo-options {
        padding: 20px 0 22px;
    }

    .nrepo-options__choice span {
        font-size: 12px;
        min-height: 42px;
        padding: 8px;
    }
}
