.woocommerce-MyAccount-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}
.wcma-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.wcma-header .button {
    background: #111827 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 22px !important;
    border-radius: 10px !important;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: none !important;
}

.wcma-header .button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Address Card */
.wcma-address-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wcma-address-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Name */
.wcma-address-card strong {
    display: block;
    font-size: 18px;
    color: #111827;
    margin-bottom: 12px;
}

/* Text */
.wcma-address-card p {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

h3.wcma-name {
    margin-bottom: 10px;
}
/* Actions */
.wcma-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
}

.wcma-actions a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

/* Edit */
.wcma-actions a:first-child {
    color: #111827;
}

.wcma-actions a:first-child:hover {
    color: #000;
}

/* Delete */
.wcma-actions a:last-child {
    color: #dc2626 !important;
}

.wcma-actions a:last-child:hover {
    opacity: 0.8;
}

/* Form */
.woocommerce-EditAccountForm {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
}

/* Labels */
.woocommerce-EditAccountForm label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: block;
}

/* Inputs */
.woocommerce-EditAccountForm input.input-text,
.woocommerce-EditAccountForm select {
    width: 100%;
    min-height: 50px;
    border: 1px solid #d1d5db !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    background: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    box-shadow: none !important;
}

/* Focus */
.woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-EditAccountForm select:focus {
    border-color: #111827 !important;
    outline: none;
}

/* Save Button */
.woocommerce-EditAccountForm button.button {
    background: #111827 !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s ease;
}

.woocommerce-EditAccountForm button.button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Empty Message */
.wcma-empty {
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

/* Mobile */
@media (max-width: 768px) {

    .woocommerce-EditAccountForm {
        padding: 20px;
    }

    .wcma-address-card {
        padding: 18px;
    }

    .wcma-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wcma-actions {
        flex-wrap: wrap;
        gap: 12px;
    }

    .woocommerce-MyAccount-content h2 {
        font-size: 24px;
    }
}

.wcma-user-icon {
    background: #2e4f2c;
    display: inline-block;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 3;
    color: white;
    margin-bottom: 10px;
}

.wcma-section {
    background: #fff;
    border: 1px solid #e8e1d8;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 30px;
}

.wcma-section-header {
    padding: 32px;
    border-bottom: 1px solid #eee3d7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.wcma-section-title h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.wcma-section-title p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 16px;
}

.wcma-add-address {
    background: #000;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wcma-address-list {
    padding: 15px;
}
.wcma-address-meta{
    display: flex;
    align-items: center;
}
.wcma-address-card {
    position: relative;
    border: .5px solid #e5e7eb;
    border-radius: 34px;
    padding: 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all .25s ease;
    background: #fff;
}

.wcma-address-card:hover {
    border-color: #2e4f2c;
    background: #e7eae7;
}

.wcma-address-card.active {
    border-color: #99a899;
    background: #e7eae7;
}

.wcma-address-card input {
    display: none;
}

.wcma-address-name {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wcma-default-badge {
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.wcma-address-text {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.8;
}

.wcma-check {
      position: absolute;
    border: beige;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2e4f2c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    opacity: 0;
    transform: scale(.8);
    transition: all .25s ease;
    bottom: 20px;
}

.wcma-address-card.active .wcma-check {
    opacity: 1;
    transform: scale(1);
}

@media(max-width:768px) {
    .wcma-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wcma-section-title h2 {
        font-size: 28px;
    }

    .wcma-address-card {
        padding: 22px;
    }

    .wcma-address-name {
        font-size: 20px;
    }

    .wcma-address-text {
        font-size: 15px;
    }
}
.wcma-delivery-for{
    display:flex;
    gap:15px;
    margin-bottom:20px;
    flex-wrap:wrap;
}

.wcma-delivery-type{
    border:1px solid #ddd;
    padding:12px 18px;
    border-radius:10px;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:10px;
    transition:0.3s;
}

.wcma-delivery-type.active{
    border-color:#000;
    background:#f5f5f5;
}

.wcma-delivery-type input{
    margin:0;
}

.wcma-address-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.wcma-address-name{
    font-size:16px;
    font-weight:600;
    color:#111;
}

.wcma-delivery-badge{
    font-size:12px;
    font-weight:600;
    padding:5px 12px;
    border-radius:30px;
    line-height:1;
}

.wcma-delivery-badge.myself{
    background:#eef7ee;
    color:#1c7c1c;
}

.wcma-delivery-badge.someone_else{
    background:#fff3e8;
    color:#d96b00;
}

.wcma-address-text{
    font-size:14px;
    line-height:1.6;
    color:#555;
    margin-bottom:10px;
}

.wcma-address-meta{
    font-size:13px;
    color:#777;
    margin-top:6px;
}





.wcma-login-required{
            max-width:600px;
            margin:25px auto;
            padding:30px;
            text-align:center;
            background:#fff;
            border:1px solid #e5e7eb;
            border-radius:16px;
            box-shadow:0 10px 30px rgba(0,0,0,.06);
        }

        .wcma-login-icon{
            width:64px;
            height:64px;
            margin:0 auto 15px;
            display:flex;
            align-items:center;
            justify-content:center;
            font-size:28px;
            background:#f3f4f6;
            border-radius:50%;
        }

        .wcma-login-required h3{
            margin:0 0 10px;
            font-size:24px;
            color:#111827;
            font-weight:700;
        }

        .wcma-login-required p{
            margin:0 0 20px;
            color:#6b7280;
            line-height:1.6;
            font-size:15px;
        }

        .wcma-login-btn{
            display:inline-flex;
            align-items:center;
            justify-content:center;
            padding:12px 24px;
            background:#2e4f2c;
            color:#fff !important;
            text-decoration:none;
            border-radius:10px;
            font-weight:600;
            transition:all .25s ease;
        }

        .wcma-login-btn:hover{
            background:#243f22;
            transform:translateY(-2px);
        }

        /* Slightly different accent for address card */
        .wcma-address-required{
            border-color:#dbeafe;
            background:linear-gradient(
                180deg,
                #ffffff 0%,
                #f8fbff 100%
            );
        }

        .wcma-address-required .wcma-login-icon{
            background:#eff6ff;
        }

        