.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 280px;
    margin: 0;
    position: sticky;
    top: 110px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: right;
    width: calc(100% - 320px);
    min-width: 0;
}

.woocommerce-account .woocommerce::after {
    content: "";
    display: table;
    clear: both;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e8e5e4;
    border-radius: 22px;
    box-shadow:
        0 2px 8px rgba(20, 0, 1, 0.02),
        0 14px 35px rgba(20, 0, 1, 0.05);
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    position: relative;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li + li {
    margin-top: 3px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    color: #140001;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:not(.is-active) a:hover {
    background: #f8f6f5;
    color: #de172e;
    transform: translateX(2px);
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #f4f1f0;
    color: #140001;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active::before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    top: 9px;
    bottom: 9px;
    width: 4px;
    background: #de172e;
    border-radius: 999px;
}

.woocommerce-account .woocommerce-MyAccount-content > :first-child {
    margin-top: 0;
}

.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation-link--dashboard.is-active) .woocommerce-MyAccount-content > p {
    display: none;
}

.prl-account-mobile-nav {
    display: none;
}

.prl-account-dashboard {
    width: 100%;
}

.prl-account-dashboard__intro {
    margin-bottom: 34px;
}

.prl-account-dashboard__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #de172e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prl-account-dashboard__intro h1 {
    margin: 0;
    color: #140001;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.prl-account-dashboard__intro p {
    max-width: 620px;
    margin: 14px 0 0;
    color: #706969;
    font-size: 17px;
    line-height: 1.6;
}

.prl-account-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.prl-account-dashboard__card {
    display: flex;
    flex-direction: column;
    min-height: 180px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e8e5e4;
    border-radius: 22px;
    color: #140001;
    text-decoration: none;
    box-shadow:
        0 2px 8px rgba(20, 0, 1, 0.02),
        0 12px 30px rgba(20, 0, 1, 0.04);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.prl-account-dashboard__card:hover {
    transform: translateY(-2px);
    border-color: #d9d3d1;
    box-shadow:
        0 4px 10px rgba(20, 0, 1, 0.03),
        0 16px 36px rgba(20, 0, 1, 0.07);
}

.prl-account-dashboard__card-label {
    margin-bottom: 22px;
    color: #8b8383;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.prl-account-dashboard__card strong {
    margin-bottom: 8px;
    color: #140001;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.prl-account-dashboard__card-description {
    color: #706969;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
        margin-bottom: 32px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        flex: 1 1 calc(50% - 6px);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li + li {
        margin-top: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        justify-content: center;
        text-align: center;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li.is-active::before {
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 0;
        width: auto;
        height: 3px;
    }
}

@media (max-width: 760px) {
    .prl-account-dashboard__cards {
        grid-template-columns: 1fr;
    }

    .prl-account-dashboard__card {
        min-height: 150px;
    }
}

@media (max-width: 600px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        display: none;
    }

    .prl-account-mobile-nav {
        display: block;
        width: 100%;
        margin-bottom: 28px;
    }

    .prl-account-mobile-nav label {
        display: block;
        margin-bottom: 8px;
        color: #140001;
        font-size: 14px;
        font-weight: 600;
    }

    .prl-account-mobile-nav select {
        width: 100%;
        min-height: 52px;
        padding: 0 44px 0 16px;
        background: #ffffff;
        border: 1px solid #e8e5e4;
        border-radius: 16px;
        color: #140001;
        font: inherit;
        font-size: 15px;
        font-weight: 600;
        box-shadow:
            0 2px 8px rgba(20, 0, 1, 0.02),
            0 10px 24px rgba(20, 0, 1, 0.04);
        cursor: pointer;
    }
}