/* account.css — my account, login, orders, addresses */

/* ── Unwrap the generic page card so the dashboard can use the full width ── */
.woocommerce-account .rs-page-content {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.woocommerce-account .rs-page-title {
    margin-bottom: 1.25rem;
}

.woocommerce-account .rs-page-title {
    display: none;
}

.woocommerce-account .rs-entry-content {
    margin-top: 0;
    font-size: inherit;
    line-height: var(--rs-line-height);
}

.woocommerce-account .rs-entry-content > * + * {
    margin-top: 0;
}

.woocommerce-account .rs-entry-content :where(ul, ol) {
    padding-right: 0;
}

.woocommerce-account .rs-entry-content ul,
.woocommerce-account .rs-entry-content ol {
    list-style: none;
}

.woocommerce-account .rs-entry-content a {
    text-decoration: none;
}

.woocommerce-account .rs-entry-content :where(h2, h3, h4) {
    margin-top: 0;
}

/* Kill WooCommerce / Woodmart / Elementor floats that squeeze the layout. */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account.rtl .woocommerce-MyAccount-navigation,
body.woocommerce-account.rtl .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-account .elementor-widget-container,
body.woocommerce-account .elementor-widget-text-editor,
body.woocommerce-account .woocommerce {
    max-width: none;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
    content: none;
    display: none;
}

.rs-account {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce > .woocommerce-message,
.woocommerce-account .woocommerce > .woocommerce-info,
.woocommerce-account .woocommerce > .woocommerce-error {
    margin-bottom: 1rem;
}

/* ── Sidebar ── */
.woocommerce-MyAccount-navigation {
    background: var(--rs-white);
    border: 1px solid var(--rs-gray-200);
    border-radius: 16px;
    padding: .85rem;
    box-shadow: var(--rs-shadow-sm);
    position: sticky;
    top: calc(var(--rs-header-h) + 1rem);
}

.rs-account-nav__title {
    margin: 0 .35rem .65rem;
    color: var(--rs-text-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.rs-account-nav__profile {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .1rem .1rem 1rem;
    padding: .8rem;
    border: 1px solid #dcebf3;
    border-radius: 15px;
    background: linear-gradient(145deg, #f4fbff, #fff);
}

.rs-account-nav__avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, #087ca4, #064668);
    box-shadow: 0 8px 18px rgba(7, 91, 126, .2);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.rs-account-nav__profile-copy {
    display: grid;
    min-width: 0;
    gap: .18rem;
}

.rs-account-nav__profile-copy strong {
    overflow: hidden;
    color: #0b2b3d;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-account-nav__profile-copy small {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: var(--rs-text-muted);
    font-size: .7rem;
}

.rs-account-nav__profile-copy small span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #20b486;
    box-shadow: 0 0 0 3px rgba(32, 180, 134, .12);
}

.woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .7rem .8rem;
    border-radius: 10px;
    color: var(--rs-gray-700);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background var(--rs-trans), color var(--rs-trans);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--rs-primary-light);
    color: var(--rs-primary);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #087ca4, #06567b);
    box-shadow: 0 7px 18px rgba(7, 103, 143, .18);
    color: #fff;
}

.rs-account-nav__icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--rs-danger);
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover,
.woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
    background: #fef2f2;
    color: var(--rs-danger);
}

/* ── Content panel ── */
.woocommerce-MyAccount-content {
    min-width: 0;
    background: var(--rs-white);
    border: 1px solid var(--rs-gray-200);
    border-radius: 22px;
    padding: clamp(1.15rem, 2.4vw, 1.75rem);
    box-shadow: var(--rs-shadow-sm);
}

.woocommerce-MyAccount-content > p {
    color: var(--rs-gray-700);
}

.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    margin-bottom: 1rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--rs-gray-200);
    background: var(--rs-gray-50);
}

/* ── Dashboard ── */
.rs-account-dash__hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: center;
    min-height: 238px;
    margin-bottom: 0;
    padding: 2rem 2.15rem 4.4rem;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 8% 115%, rgba(46, 211, 183, .34), transparent 15rem),
        radial-gradient(circle at 95% -25%, rgba(84, 184, 237, .32), transparent 17rem),
        linear-gradient(125deg, #073a56 0%, #075f82 55%, #087da2 100%);
    border: 0;
    box-shadow: 0 20px 45px rgba(5, 71, 99, .18);
    color: #fff;
}

.rs-account-dash__hero::before,
.rs-account-dash__hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
}

.rs-account-dash__hero::before {
    width: 250px;
    height: 250px;
    inset: -120px auto auto -60px;
}

.rs-account-dash__hero::after {
    width: 145px;
    height: 145px;
    inset: auto -48px -58px auto;
}

.rs-account-dash__hero-copy {
    position: relative;
    z-index: 1;
}

.rs-account-dash__eyebrow {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0 0 .65rem;
    color: #bff7ed;
    font-size: .78rem;
    font-weight: 800;
}

.rs-account-dash__eyebrow span {
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #58e0c6;
}

.rs-account-dash__hero h2 {
    margin: 0 0 .55rem;
    color: #fff;
    font-size: clamp(1.45rem, 2.7vw, 2.05rem);
    line-height: 1.55;
}

.rs-account-dash__lead {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
}

.rs-account-dash__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.25rem;
}

.rs-account-dash__hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: .65rem 1rem;
    border-radius: 11px;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    transition: transform var(--rs-trans), background var(--rs-trans), box-shadow var(--rs-trans);
}

.rs-account-dash__hero-actions a:hover {
    transform: translateY(-2px);
    color: #fff;
}

.rs-account-dash__hero-actions svg {
    width: 17px;
    height: 17px;
}

.rs-account-dash__primary {
    background: #fff;
    box-shadow: 0 9px 24px rgba(0, 33, 49, .2);
    color: #075878 !important;
}

.rs-account-dash__secondary {
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .09);
    backdrop-filter: blur(6px);
}

.rs-account-dash__identity {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: .65rem;
}

.rs-account-dash__avatar {
    display: grid;
    place-items: center;
    width: 102px;
    height: 102px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 31px;
    background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.1));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 18px 35px rgba(0, 34, 51, .2);
    color: #fff;
    font-size: 2.6rem;
    font-weight: 900;
    backdrop-filter: blur(7px);
}

.rs-account-dash__identity-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(4, 39, 56, .28);
    color: #d9fff8;
    font-size: .7rem;
    font-weight: 700;
}

.rs-account-dash__identity-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #62f0c8;
    box-shadow: 0 0 0 4px rgba(98, 240, 200, .12);
}

.rs-account-dash__summary {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    margin: -36px 1.25rem 1.65rem;
}

.rs-account-stat {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 0;
    padding: .85rem .9rem;
    border: 1px solid #dfe9ee;
    border-radius: 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 28px rgba(25, 71, 92, .1);
}

.rs-account-stat__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    background: #e8f7fc;
    color: #08769b;
}

.rs-account-stat__icon--status {
    background: #ebfaf5;
    color: #128060;
}

.rs-account-stat__icon--address {
    background: #fff6e7;
    color: #bc7416;
}

.rs-account-stat__icon svg {
    width: 18px;
    height: 18px;
}

.rs-account-stat__copy {
    display: grid;
    min-width: 0;
    gap: .12rem;
}

.rs-account-stat__label {
    color: var(--rs-text-muted);
    font-size: .68rem;
}

.rs-account-stat strong {
    overflow: hidden;
    color: #102f40;
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-account-dash__section-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .8rem;
}

.rs-account-dash__section-head p,
.rs-account-orders__head p {
    margin: 0 0 .15rem;
    color: #0780a7;
    font-size: .7rem;
    font-weight: 800;
}

.rs-account-dash__section-head h3 {
    margin: 0;
    color: #102f40;
    font-size: 1.05rem;
}

.rs-account-dash__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.rs-account-card {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    grid-template-rows: auto auto;
    column-gap: .8rem;
    row-gap: .15rem;
    align-items: center;
    min-height: 92px;
    padding: 1rem;
    border: 1px solid var(--rs-gray-200);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    transition: border-color var(--rs-trans), box-shadow var(--rs-trans), background var(--rs-trans);
}

.rs-account-card:hover {
    border-color: #9fd2e1;
    box-shadow: 0 13px 30px rgba(19, 76, 101, .1);
    transform: translateY(-2px);
    color: inherit;
}

.rs-account-card__icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #e8f7fc;
    color: #08769b;
}

.rs-account-card:nth-child(2) .rs-account-card__icon { background: #fff6e7; color: #bc7416; }
.rs-account-card:nth-child(3) .rs-account-card__icon { background: #f0edff; color: #6954c7; }
.rs-account-card:nth-child(4) .rs-account-card__icon { background: #ebfaf5; color: #128060; }

.rs-account-card__icon svg {
    width: 20px;
    height: 20px;
}

.rs-account-card__label {
    font-weight: 800;
    color: var(--rs-gray-900);
}

.rs-account-card__meta {
    color: var(--rs-text-muted);
    font-size: .82rem;
}

.rs-account-card__arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: #9aabb4;
    transition: color var(--rs-trans), transform var(--rs-trans);
}

.rs-account-card__arrow svg {
    width: 15px;
    height: 15px;
}

.rs-account-card:hover .rs-account-card__arrow {
    color: #08769b;
    transform: translateX(-3px);
}

.rs-account-orders {
    margin-top: 1.7rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--rs-gray-200);
}

.rs-account-orders__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .7rem;
}

.rs-account-orders__head h3 {
    margin: 0;
    color: #102f40;
    font-size: 1.05rem;
}

.rs-account-orders__head a {
    display: inline-flex;
    padding: .42rem .7rem;
    border-radius: 9px;
    background: #eef8fb;
    color: var(--rs-primary);
    font-size: .82rem;
    font-weight: 700;
}

.rs-account-orders__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}

.rs-account-order {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto 18px;
    gap: .75rem;
    align-items: center;
    min-height: 70px;
    padding: .7rem .8rem;
    border: 1px solid var(--rs-gray-200);
    border-radius: 12px;
    background: #fbfdfe;
    color: inherit;
}

.rs-account-order:hover {
    background: #fff;
    border-color: #aad7e3;
    box-shadow: 0 8px 20px rgba(20, 74, 97, .07);
    color: inherit;
}

.rs-account-order__id {
    font-weight: 800;
    color: #102f40;
}

.rs-account-order__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eaf7fb;
    color: #08769b;
}

.rs-account-order__icon svg {
    width: 19px;
    height: 19px;
}

.rs-account-order__copy {
    display: grid;
    gap: .15rem;
}

.rs-account-order__meta {
    color: var(--rs-text-muted);
    font-size: .82rem;
}

.rs-account-order__total {
    color: #193d4f;
    font-size: .82rem;
    white-space: nowrap;
}

.rs-account-order__status {
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--rs-primary-light);
    color: var(--rs-primary);
    font-size: .72rem;
    font-weight: 800;
}

.rs-account-order__arrow {
    color: #9aabb4;
}

.rs-account-order__arrow svg {
    width: 16px;
    height: 16px;
}

.rs-account-order__status--completed,
.rs-account-order__status--processing {
    background: #ecfdf3;
    color: #067647;
}

.rs-account-order__status--cancelled,
.rs-account-order__status--failed {
    background: #fef2f2;
    color: var(--rs-danger);
}

/* ── Tables: orders, downloads, view-order ── */
.woocommerce-account table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
    padding: .8rem .55rem;
    text-align: right;
    border-bottom: 1px solid var(--rs-gray-200);
    vertical-align: middle;
}

.woocommerce-account table.shop_table th {
    color: var(--rs-text-muted);
    font-size: .78rem;
    font-weight: 800;
}

.woocommerce-account table.shop_table .button,
.woocommerce-account table.shop_table .woocommerce-button {
    display: inline-flex;
    margin: .15rem 0;
    padding: .4rem .75rem;
    font-size: .8rem;
}

.woocommerce-account .woocommerce-order-details {
    margin-top: 1.15rem;
}

.woocommerce-account .woocommerce-order-details__title {
    margin: 0 0 .75rem;
    font-size: 1.05rem;
}

.woocommerce-account .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

/* ── Addresses ── */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns,
.woocommerce-account .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce-account .col-1,
.woocommerce-account .col-2 {
    float: none !important;
    width: 100% !important;
    padding: 1rem 1.1rem;
    border: 1px solid var(--rs-gray-200);
    border-radius: 14px;
    background: var(--rs-gray-50);
}

.woocommerce-account .woocommerce-Address-title,
.woocommerce-account .woocommerce-column__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .65rem;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-column__title {
    font-size: 1rem;
}

.woocommerce-account address {
    font-style: normal;
    line-height: 1.9;
    color: var(--rs-gray-700);
}

/* ── Account / address / login forms ── */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account form.login,
.woocommerce-account form.register,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
    max-width: 560px;
}

.woocommerce-account fieldset {
    margin: 1.25rem 0 0;
    padding: 1rem 0 0;
    border: 0;
    border-top: 1px solid var(--rs-gray-200);
}

.woocommerce-account legend {
    padding: 0 0 .65rem;
    font-weight: 800;
}

.woocommerce-account .woocommerce-form-row .required {
    color: var(--rs-danger);
}

.woocommerce-account button[type="submit"],
.woocommerce-account .woocommerce-form-login .button,
.woocommerce-account .woocommerce-Button {
    margin-top: .35rem;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
    margin-inline: auto;
    padding: 1.25rem;
    background: var(--rs-white);
    border: 1px solid var(--rs-gray-200);
    border-radius: 16px;
    box-shadow: var(--rs-shadow-sm);
}

/* Digits / OTP stay usable inside the same page chrome. */
.woocommerce-account .digits_login,
.woocommerce-account .digits-form,
.woocommerce-account .digits_secure_container {
    max-width: 480px;
    margin-inline: auto;
}

.rs-account-login {
    max-width: 440px;
    margin: 0 auto;
    padding: 1.35rem 1.25rem 1.45rem;
    background: var(--rs-white);
    border: 1px solid var(--rs-gray-200);
    border-radius: 18px;
    box-shadow: var(--rs-shadow-sm);
}

.rs-account-login--split {
    max-width: 860px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 1.25rem;
}

.rs-account-login__panel h2,
.rs-otp-title {
    margin: 0 0 .35rem;
    font-size: 1.25rem;
}

.rs-otp-subtitle,
.rs-account-empty p {
    margin: 0 0 1rem;
    color: var(--rs-text-muted);
    font-size: .92rem;
}

.rs-otp-message {
    min-height: 1.2em;
    margin-bottom: .75rem;
    font-size: .88rem;
}

.rs-otp-message.error { color: var(--rs-danger); }
.rs-otp-message.success { color: #067647; }

.rs-otp-form {
    display: grid;
    gap: .55rem;
}

.rs-otp-form label {
    font-weight: 700;
    font-size: .86rem;
}

.rs-otp-phone,
.rs-otp-code,
.rs-account-login input.input-text {
    width: 100%;
    padding: .7rem .9rem;
    border: 1.5px solid var(--rs-gray-300);
    border-radius: 12px;
    font: inherit;
}

.rs-otp-send,
.rs-otp-verify,
.rs-account-login button[type="submit"] {
    width: 100%;
    margin-top: .15rem;
    padding: .75rem 1rem;
    border: 0;
    border-radius: 12px;
    background: var(--rs-primary);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.rs-otp-resend {
    border: 0;
    background: transparent;
    color: var(--rs-primary);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.rs-otp-resend:disabled {
    color: var(--rs-text-muted);
    cursor: default;
}

.rs-account-empty {
    padding: 1.5rem 1.2rem;
    background: var(--rs-white);
    border: 1px solid var(--rs-gray-200);
    border-radius: 16px;
    text-align: center;
}

.rs-account-empty h2 {
    margin: 0 0 .4rem;
}

.rs-account-empty .rs-btn {
    display: inline-flex;
    margin-top: .35rem;
}

.rs-account-panel__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .65rem 1rem;
    margin-bottom: 1rem;
}

.rs-account-panel__head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.rs-account-panel__head p {
    flex: 1 0 100%;
    margin: 0;
    color: var(--rs-text-muted);
    font-size: .92rem;
}

.rs-account-panel__head a {
    color: var(--rs-primary);
    font-size: .86rem;
    font-weight: 700;
}

.rs-account-login__alt {
    margin: .9rem 0 0;
    text-align: center;
}

.rs-account-login__alt a {
    color: var(--rs-primary);
    font-weight: 700;
}

.rs-account-order-view .rs-account-dash__hero {
    margin-bottom: 1.15rem;
}

.rs-account-order-notes {
    margin: 0 0 1.15rem;
}

.rs-account-order-notes h3 {
    margin: 0 0 .65rem;
    font-size: 1rem;
}

.rs-account-order-notes .notes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .55rem;
}

.rs-account-order-notes .woocommerce-OrderUpdate-text {
    padding: .85rem .95rem;
    border: 1px solid var(--rs-gray-200);
    border-radius: 12px;
    background: var(--rs-gray-50);
}

.rs-account-order-notes .meta {
    margin: 0 0 .35rem;
    color: var(--rs-text-muted);
    font-size: .82rem;
}

@media (max-width: 900px) {
    .rs-account {
        grid-template-columns: minmax(0, 1fr);
    }

    .woocommerce-MyAccount-navigation {
        position: static;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        padding: .7rem;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: .4rem;
        padding-bottom: .15rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }

    .woocommerce-MyAccount-navigation ul li {
        flex: 0 0 auto;
    }

    .woocommerce-MyAccount-navigation ul li a {
        white-space: nowrap;
    }

    .rs-account-nav__title {
        display: none;
    }

    .rs-account-nav__profile {
        display: none;
    }

    .rs-account-dash__cards,
    .woocommerce-account .woocommerce-Addresses,
    .woocommerce-account .u-columns,
    .woocommerce-account .col2-set,
    .woocommerce-account .woocommerce-columns--addresses,
    .rs-account-login--split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: .75rem;
        border-radius: 18px;
    }

    .rs-account-dash__hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 1.4rem 1.2rem 3.8rem;
        border-radius: 16px;
    }

    .rs-account-dash__identity {
        display: none;
    }

    .rs-account-dash__hero h2 {
        font-size: 1.35rem;
    }

    .rs-account-dash__hero-actions a {
        flex: 1 1 auto;
    }

    .rs-account-dash__summary {
        grid-template-columns: 1fr;
        gap: .5rem;
        margin: -28px .7rem 1.4rem;
    }

    .rs-account-stat {
        padding: .7rem .75rem;
    }

    .rs-account-dash__cards {
        gap: .65rem;
    }

    .rs-account-card {
        min-height: 82px;
    }

    .rs-account-order {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        gap: .35rem .65rem;
    }

    .rs-account-order__icon {
        grid-row: 1 / span 2;
        width: 38px;
        height: 38px;
    }

    .rs-account-order__status {
        grid-column: 3;
        grid-row: 1;
    }

    .rs-account-order__total {
        grid-column: 2;
        grid-row: 2;
    }

    .rs-account-order__arrow {
        display: none;
    }

    .woocommerce-account table.shop_table thead {
        display: none;
    }

    .woocommerce-account table.shop_table,
    .woocommerce-account table.shop_table tbody,
    .woocommerce-account table.shop_table tr,
    .woocommerce-account table.shop_table td {
        display: block;
        width: 100%;
    }

    .woocommerce-account table.shop_table tr {
        padding: .75rem 0;
        border-bottom: 1px solid var(--rs-gray-200);
    }

    .woocommerce-account table.shop_table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: .25rem 0;
        border: 0;
    }

    .woocommerce-account table.shop_table td::before {
        content: attr(data-title);
        font-weight: 800;
        color: var(--rs-text-muted);
    }
}
