.crp45-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.crp45-address-actions form {
    margin: 0;
}

.woocommerce .crp45-address-actions .button,
.woocommerce .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward {
    float: none;
    margin: 0;
    padding: 0.5em 1em;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
}

.woocommerce .crp45-address-actions .button:hover,
.woocommerce .crp45-address-actions .button:focus,
.woocommerce .woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce .woocommerce-orders-table__cell-order-actions .button:focus,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward:hover,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button.wc-forward:focus {
    background: transparent;
    color: inherit;
    opacity: 0.7;
}

.woocommerce .woocommerce-orders-table__cell-order-actions .button + .button {
    margin-inline-start: 0.5rem;
}

.woocommerce .crp45-address-actions .button.crp45-address-delete {
    padding-inline: 0.25em;
    border-color: transparent;
    color: var(--wc-red, #b32d2e);
    text-decoration: underline;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info:has(> .wc-forward) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info > .wc-forward {
    order: 1;
}

@media (min-width: 600px) {
    .crp45-address-actions {
        flex-wrap: nowrap;
    }

    .woocommerce-orders-table__cell-order-actions {
        white-space: nowrap;
    }
}

@media (max-width: 599px) {
    .crp45-address-table thead {
        display: none;
    }

    .crp45-address-table,
    .crp45-address-table tbody,
    .crp45-address-table tr,
    .crp45-address-table td {
        display: block;
        width: 100%;
    }

    .crp45-address-table td {
        text-align: left;
    }
}
