.ec-google-branding {
    padding: 6px 10px;
    color: #70757a;
    font-size: 11px;
    text-align: right;
}

.ec-address-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.28);
    backdrop-filter: blur(2px);
}

.ec-address-modal {
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    color: #111827;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.18);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ec-address-modal--processing {
    width: auto;
    min-width: 260px;
    text-align: center;
}

.ec-address-modal--warning {
    border-color: #f4c56a;
    background: #fffdf7;
}

.ec-address-spinner {
    display: block;
    width: 26px;
    height: 26px;
    margin: 0 auto 16px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: ec-address-spin .75s linear infinite;
}

@keyframes ec-address-spin { to { transform: rotate(360deg); } }

.ec-address-notice-icon,
.ec-address-warning-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    border-radius: 50%;
    font-weight: 700;
}

.ec-address-notice-icon { background: #eff6ff; color: #2563eb; }
.ec-address-warning-icon { background: #fff3cd; color: #a16207; }

.ec-address-modal-title {
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.ec-address-modal-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.5;
}

.ec-address-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.ec-address-choice {
    position: relative;
    min-height: 120px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #374151;
    text-align: left;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.ec-address-choice:hover { border-color: #9ca3af; }
.ec-address-choice.is-recommended { border-color: #93c5fd; background: #f8fbff; }
.ec-address-choice-label { display: block; margin-bottom: 8px; color: #6b7280; font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.ec-address-recommended { display: inline-block; margin-top: 10px; padding: 3px 7px; border-radius: 999px; background: #dbeafe; color: #1d4ed8; font-size: 10px; font-weight: 650; }
.ec-address-single-address { margin-top: 18px; padding: 14px 16px; border: 1px solid #f4c56a; border-radius: 10px; background: #fff; color: #374151; font-size: 13px; line-height: 1.5; }

.ec-address-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.ec-address-btn {
    padding: 10px 16px;
    border-radius: 9px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ec-address-btn--primary { background: #2563eb; color: #fff; }
.ec-address-btn--primary:hover { background: #1d4ed8; }
.ec-address-btn--secondary { border-color: #d1d5db; background: #fff; color: #374151; }
.ec-address-btn--secondary:hover { background: #f9fafb; }

@media (max-width: 560px) {
    .ec-address-modal { padding: 22px; border-radius: 15px; }
    .ec-address-compare { grid-template-columns: 1fr; }
    .ec-address-actions { flex-direction: column-reverse; }
    .ec-address-btn { width: 100%; }
}

/* My Account saved-address autocomplete */
.ec-account-address-anchor {
    position: relative;
}

.ec-account-address-suggestions {
    position: absolute;
    z-index: 99999;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, .14);
}

.ec-account-address-suggestion {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid #f1f3f5;
    background: #fff;
    color: #1f2937;
    text-align: left;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
}

.ec-account-address-suggestion:hover,
.ec-account-address-suggestion:focus {
    outline: none;
    background: #f8fbff;
}

.ec-account-address-branding {
    padding: 7px 12px;
    background: #fafafa;
    color: #70757a;
    font-size: 10px;
    text-align: right;
}
