[data-mechan-locked-container="true"] select.mechan-standard-address-locked-field,
[data-mechan-locked-container="true"] input.mechan-standard-address-locked-field:not([type="text"]):not([type="email"]):not([type="tel"]):not([type="number"]),
[data-mechan-locked-container="true"] textarea.mechan-standard-address-locked-field {
    pointer-events: none;
}

.mechan-standard-address-locked-field {
    background-color: #f2f2f2 !important;
    color: #6a6a6a;
    cursor: not-allowed;
}

.mechan-standard-address-locked-field:focus {
    outline: none;
    box-shadow: none;
}

[data-mechan-locked-container="true"] .custom-attributes .option-list {
    opacity: 0.7;
}

[data-mechan-locked-container="true"] .custom-attributes label {
    cursor: not-allowed;
}

/* Addresses are maintained in Powerall only; the server refuses these actions as well. */
.address-list-page .edit-address-button,
.address-list-page .delete-address-button,
.address-list-page .add-address,
.address-list-page .add-button {
    display: none;
}

/* Full-width card below the address list and above the checkout address picker; theme tokens fall back for themes without them. */
.mechan-delivery-address-contact-note {
    margin: 0 0 20px;
    padding: 16px 20px;
    background-color: #fff;
    border: 1px solid #eee;
    border-left: 3px solid var(--mechan-copper, #c87a1d);
    border-radius: 3px;
    color: var(--mechan-text-muted, #4d4d4d);
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

/* Same 25px gap the theme leaves between address cards. */
.address-list-page .mechan-delivery-address-contact-note {
    margin: 25px 0 0;
}

.mechan-delivery-address-contact-note a {
    color: var(--mechan-copper-text, #a05a00);
    text-decoration: underline;
}

.mechan-delivery-address-contact-note a:hover {
    color: var(--mechan-copper-dark, #855113);
}
