/**
 * Sweets Website
 * =============================================================
 * File: saved-addresses.css
 * Description: Styling for the Saved Addresses page
 * =============================================================
 */

.sa-page {
    background-color: #fdfaf7;
    background-image: url("../../images/banners/contack-bg.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.sa-title {
    font-family: var(--ff-heading, 'Quando', serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #7b1d1d;
    margin-bottom: 0.5rem;
}

.sa-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* ── ADDRESS CARD ── */
.sa-card {
    background: rgba(255, 254, 252, 0.95);
    border: 1.5px solid #d67a1811;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(123, 29, 29, 0.08);
    border-color: #d67a1833;
}

.sa-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.sa-icon {
    width: 36px;
    height: 36px;
    background: #fdfaf5;
    border: 1.5px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d67a18;
    font-size: 1rem;
}

.sa-badge-default {
    background: #fffdfb;
    border: 1.5px solid #7b1d1d;
    color: #7b1d1d;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.sa-card__body {
    flex-grow: 1;
}

.sa-name {
    font-weight: 800;
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.sa-address {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sa-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #7b1d1d;
    font-weight: 700;
    font-size: 0.95rem;
}

.sa-contact i {
    font-size: 1.1rem;
}

.sa-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.sa-action-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sa-action-btn:hover {
    background: #fdfaf5;
    color: #7b1d1d;
    border-color: #7b1d1d44;
}

/* ── ADD ADDRESS CARD ── */
.sa-card--add-new {
    background: transparent;
    border: 2px dashed #d67a1833;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sa-card--add-new:hover {
    border-color: #7b1d1d;
    background: rgba(255, 255, 255, 0.4);
}

.sa-add-content {
    text-align: center;
}

.sa-add-icon {
    width: 60px;
    height: 60px;
    background: #fdfaf5;
    border: 2px solid #eee;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d67a18;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.sa-card--add-new:hover .sa-add-icon {
    background: #7b1d1d;
    color: #fff;
    border-color: #7b1d1d;
    transform: scale(1.1);
}

.sa-add-title {
    font-weight: 800;
    color: #333;
    margin-bottom: 0.5rem;
}

.sa-add-sub {
    font-size: 0.85rem;
    color: #999;
}

/* ── Responsive ── */
@media (max-width: 585px) {
    .sa-title {
        font-size: 2rem;
    }
}
