body.woocommerce-account .woocommerce {
    display: flex;
    gap: 24px;
    align-items: start;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #FD4847;
    border-radius: 24px;
    padding: 22px 16px;
    position: sticky;
    top: 24px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0 0 8px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 16px;
    border-radius: 0px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: 0.25s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(0, 0, 0, 0.89);
    color: #ffffff;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    background: #F8F8FA;
    border-radius: 0px;
    padding: 24px;
    min-height: 600px;
}

.nm-member-app {
    display: grid;
    gap: 24px;
}

.nm-hero {
    display: grid;
    grid-template-columns: 1.6fr 340px;
    gap: 24px;
    background: linear-gradient(135deg, #FD4847, #E53E3E);
    color: #fff;
    border-radius: 28px;
    padding: 28px;
}

.nm-kicker {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.nm-hero h2 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.15;
    color: #fff;
}

.nm-hero p {
    margin: 0;
    color: #FFE8E8;
    max-width: 650px;
}

.nm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.25s ease;
}

.nm-btn-primary {
    background: #ffffff;
    color: #FD4847;
    border: 1px solid #ffffff;
}

.nm-btn-primary:hover {
    background: #FFF2F2;
    color: #E53E3E;
}

.nm-btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.nm-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.20);
}

.nm-profile-card,
.nm-stat-card,
.nm-panel,
.nm-modern-empty {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(253, 72, 71, 0.08);
}

.nm-profile-card {
    padding: 24px;
    text-align: center;
    color: #222222;
}

.nm-profile-card img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: block;
    border: 4px solid #F6CACA;
}

.nm-profile-card h3 {
    margin: 0 0 6px;
    font-size: 20px;
}

.nm-profile-card p {
    margin: 0 0 12px;
    color: #666666;
    word-break: break-word;
}

.nm-status {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.nm-status-active {
    background: #FFE2E2;
    color: #D62F2F;
}

.nm-status-pending {
    background: #FFF1D6;
    color: #B26A00;
}

.nm-status-expired {
    background: #FDE2E2;
    color: #A61B1B;
}

.nm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.nm-stat-card {
    padding: 22px;
}

.nm-stat-card span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #777777;
    margin-bottom: 10px;
}

.nm-stat-card strong {
    display: block;
    font-size: 24px;
    color: #222222;
    line-height: 1.2;
}

.nm-main-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.nm-panel {
    padding: 24px;
}

.nm-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.nm-panel-head h3 {
    margin: 0;
    font-size: 20px;
    color: #222222;
}

.nm-detail-list {
    display: grid;
    gap: 12px;
}

.nm-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #F2D4D4;
}

.nm-detail-row:last-child {
    border-bottom: 0;
}

.nm-detail-row span {
    color: #666666;
    font-weight: 600;
}

.nm-detail-row strong {
    color: #222222;
    text-align: right;
}

.nm-quick-links {
    display: grid;
    gap: 12px;
}

.nm-quick-links a {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    background: #FFF7F7;
    color: #222222;
    font-weight: 700;
    border: 1px solid #F6CACA;
    transition: 0.25s ease;
}

.nm-quick-links a:hover {
    background: #FFEAEA;
    border-color: #FD4847;
    color: #D93636;
}

.nm-order-table-wrap {
    overflow-x: auto;
}

.nm-order-table {
    width: 100%;
    border-collapse: collapse;
}

.nm-order-table th,
.nm-order-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #F2D4D4;
    text-align: left;
    vertical-align: middle;
}

.nm-order-table th {
    font-size: 13px;
    color: #777777;
    font-weight: 700;
}

.nm-order-table td {
    color: #222222;
}

.nm-table-link {
    color: #FD4847;
    font-weight: 700;
    text-decoration: none;
}

.nm-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.nm-news-card {
    background: #FFF9F9;
    border: 1px solid #F6CACA;
    border-radius: 18px;
    overflow: hidden;
}

.nm-news-thumb {
    display: block;
    height: 180px;
    overflow: hidden;
}

.nm-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nm-news-body {
    padding: 16px;
}

.nm-news-body small {
    color: #777777;
    display: block;
    margin-bottom: 8px;
}

.nm-news-body h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.nm-news-body h4 a {
    color: #222222;
    text-decoration: none;
}

.nm-modern-empty {
    padding: 40px;
    text-align: center;
}

.nm-modern-empty h3 {
    margin: 0 0 10px;
    color: #222222;
}

.nm-modern-empty p {
    color: #666666;
    margin-bottom: 18px;
}

@media (max-width: 1100px) {
    body.woocommerce-account .woocommerce {
        flex-direction: column;
    }

    .nm-hero,
    .nm-main-grid,
    .nm-stats-grid,
    .nm-news-grid {
        grid-template-columns: 1fr;
    }
}