/* TrendWatch customer address book */
.tw-address-book {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid rgba(190, 160, 100, .25);
    border-radius: 18px;
    background: rgba(120, 120, 120, .035)
}

.tw-address-book-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.tw-address-eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
    color: #b9975b;
    font-weight: 800
}

.tw-address-book h3 {
    margin: 6px 0;
    font-size: 20px
}

.tw-address-book-heading p {
    margin: 0;
    color: var(--muted, #858585);
    font-size: 13px;
    line-height: 1.9
}

.tw-address-list {
    display: grid;
    gap: 12px;
    margin: 16px 0 22px
}

.tw-address-card {
    border: 1px solid rgba(160, 160, 160, .22);
    border-radius: 14px;
    padding: 15px;
    background: rgba(128, 128, 128, .04);
    display: grid;
    gap: 9px
}

.tw-address-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.tw-address-card-title {
    font-weight: 800
}

.tw-address-default-badge {
    font-size: 11px;
    color: #6da87c;
    background: rgba(80, 160, 100, .1);
    padding: 4px 9px;
    border-radius: 30px
}

.tw-address-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted, #777);
    overflow-wrap: anywhere
}

.tw-address-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tw-address-actions button {
    border: 1px solid rgba(160, 160, 160, .3);
    border-radius: 9px;
    padding: 7px 11px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer
}

.tw-address-actions .is-danger {
    color: #c85c5c
}

.tw-address-empty {
    padding: 18px;
    border: 1px dashed rgba(160, 160, 160, .35);
    border-radius: 12px;
    text-align: center;
    color: var(--muted, #777);
    font-size: 13px
}

.tw-address-form {
    padding-top: 18px;
    border-top: 1px solid rgba(160, 160, 160, .18)
}

.tw-address-form h4 {
    margin: 0 0 14px;
    font-size: 16px
}

.tw-address-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.tw-address-grid label {
    display: inline;
    gap: 6px;
    font-size: 12px;
    font-weight: 700
}

.tw-address-grid input,
.tw-address-grid textarea {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(150, 150, 150, .35);
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 13px
}

.tw-address-grid textarea {
    resize: vertical
}

.tw-address-wide {
    grid-column: 1/-1
}

.tw-address-default {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    font-size: 12px
}

.tw-address-message {
    min-height: 22px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #bf5c5c
}

.tw-address-message.is-success {
    color: #4e9a6d
}

@media(max-width:640px) {
    .tw-address-book {
        padding: 15px
    }

    .tw-address-grid {
        grid-template-columns: 1fr
    }

    .tw-address-wide {
        grid-column: auto
    }
}

/* Account postal lookup spacing (kept out of inline HTML styles). */
.tw-address-grid .tw-postal-lookup-button {
    margin-top: 12px;
}
