body.woocommerce-account {
    --mbm-account-primary: #008cf4;
    --mbm-account-accent: #dd14dd;
    --mbm-account-ink: #3b4044;
    --mbm-account-text: #596572;
    --mbm-account-muted: #7a8590;
    --mbm-account-border: rgba(59, 64, 68, 0.1);
    --mbm-account-surface: rgba(255, 255, 255, 0.94);
    --mbm-account-soft: #f6f9ff;
    --mbm-account-radius: 26px;
    --mbm-account-radius-lg: 34px;
    --mbm-account-shadow: 0 22px 60px rgba(54, 67, 82, 0.12);
    --mbm-account-shadow-soft: 0 12px 34px rgba(54, 67, 82, 0.08);
    background:
        radial-gradient(circle at 0 0, rgba(221, 20, 221, 0.08), transparent 28%),
        radial-gradient(circle at 100% 4%, rgba(0, 140, 244, 0.12), transparent 32%),
        linear-gradient(180deg, #fbfdff 0%, #f7faff 38%, #fff 100%);
    color: var(--mbm-account-text);
}

body.woocommerce-account .elementor-location-single {
    padding: clamp(24px, 4vw, 54px) 0 72px;
}

body.woocommerce-account .elementor-location-single > .e-con,
body.woocommerce-account .elementor-location-single > .elementor-element {
    width: min(calc(100% - 40px), 1240px);
    margin-right: auto;
    margin-left: auto;
}

body.woocommerce-account .elementor-location-single > .e-con > .e-con-inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.woocommerce-account .elementor-widget-woocommerce-my-account {
    margin: 0;
}

body.woocommerce-account .elementor-location-single .elementor-widget-shortcode,
body.woocommerce-account .elementor-location-single .elementor-widget-shortcode .elementor-widget-container,
body.woocommerce-account .elementor-location-single .elementor-widget-shortcode .elementor-shortcode {
    width: 100%;
}

body.woocommerce-account .elementor-widget-woocommerce-my-account .elementor-widget-container,
body.woocommerce-account .elementor-widget-woocommerce-my-account .woocommerce,
body.woocommerce-account .e-my-account-tab {
    width: 100%;
}

body.woocommerce-account .elementor-location-single h1,
body.woocommerce-account .elementor-location-single h2,
body.woocommerce-account .elementor-location-single h3,
body.woocommerce-account .elementor-location-single p {
    margin-top: 0;
}

body.woocommerce-account .elementor-location-single a {
    color: var(--mbm-account-primary);
}

.mbm-account-hero {
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--mbm-account-radius-lg);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 255, 0.94)),
        radial-gradient(circle at 100% 0, rgba(221, 20, 221, 0.14), transparent 42%);
    box-shadow: var(--mbm-account-shadow);
}

.mbm-account-hero::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -45%;
    width: min(420px, 45vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 140, 244, 0.16), transparent 68%);
    pointer-events: none;
}

.mbm-account-hero > * {
    position: relative;
    z-index: 1;
}

.mbm-account-hero h1 {
    max-width: 760px;
    margin-bottom: 14px;
    color: var(--mbm-account-ink);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.mbm-account-hero .elementor-widget-shortcode {
    margin-bottom: 0;
}

.mbm-account-hero p {
    max-width: 740px;
    margin-bottom: 20px;
    color: #607080;
    font-size: clamp(16px, 2vw, 18px);
}

.mbm-account-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--mbm-account-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mbm-account-pills,
.mbm-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mbm-account-pills span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(0, 140, 244, 0.14);
    border-radius: 999px;
    color: var(--mbm-account-ink);
    background: rgba(255, 255, 255, 0.76);
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(54, 67, 82, 0.06);
}

.mbm-account-button,
body.woocommerce-account .elementor-location-single .button,
body.woocommerce-account .elementor-location-single button.button,
body.woocommerce-account .elementor-location-single a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 18px;
    border: 0;
    border-radius: 16px;
    color: #fff !important;
    background: var(--mbm-account-primary);
    box-shadow: 0 12px 28px rgba(0, 140, 244, 0.22);
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.mbm-account-button:hover,
body.woocommerce-account .elementor-location-single .button:hover,
body.woocommerce-account .elementor-location-single button.button:hover,
body.woocommerce-account .elementor-location-single a.button:hover {
    background: #0074d1;
    box-shadow: 0 14px 34px rgba(0, 140, 244, 0.28);
    transform: translateY(-1px);
}

.mbm-account-button.is-soft {
    color: var(--mbm-account-primary) !important;
    background: rgba(0, 140, 244, 0.1);
    box-shadow: none;
}

body.woocommerce-account .u-columns#customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--mbm-account-radius);
    background: var(--mbm-account-surface);
    box-shadow: var(--mbm-account-shadow);
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2,
body.woocommerce-account .woocommerce-MyAccount-content {
    padding: clamp(22px, 3vw, 32px);
}

body.woocommerce-account #customer_login h2,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin-bottom: 18px;
    color: var(--mbm-account-ink);
    font-weight: 900;
    letter-spacing: -0.03em;
}

body.woocommerce-account form.login,
body.woocommerce-account form.register,
body.woocommerce-account form.edit-account,
body.woocommerce-account form.edit-address {
    margin: 0;
    padding: 0;
    border: 0;
}

body.woocommerce-account .form-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--mbm-account-ink);
    font-size: 13px;
    font-weight: 900;
}

body.woocommerce-account input.input-text,
body.woocommerce-account textarea,
body.woocommerce-account select,
body.woocommerce-account .select2-container .select2-selection--single {
    min-height: 48px;
    width: 100%;
    border: 1px solid rgba(59, 64, 68, 0.12);
    border-radius: 16px;
    background: #fff;
    color: var(--mbm-account-ink);
    box-shadow: 0 8px 22px rgba(54, 67, 82, 0.04);
}

body.woocommerce-account input.input-text,
body.woocommerce-account textarea,
body.woocommerce-account select {
    padding: 12px 14px;
}

body.woocommerce-account input.input-text:focus,
body.woocommerce-account textarea:focus,
body.woocommerce-account select:focus {
    border-color: rgba(0, 140, 244, 0.5);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 140, 244, 0.1);
}

body.woocommerce-account .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}

body.woocommerce-account .woocommerce-LostPassword {
    margin: 14px 0 0;
    font-weight: 800;
}

body.woocommerce-account .woocommerce-privacy-policy-text {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--mbm-account-muted);
    background: var(--mbm-account-soft);
    font-size: 13px;
}

.mbm-account-shell {
    width: 100%;
}

.mbm-account-shell > .e-con-inner {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
    max-width: none;
    padding: 0;
}

body.woocommerce-account:not(.logged-in) .mbm-account-shell {
    width: 100%;
}

body.woocommerce-account:not(.logged-in) .mbm-account-shell > .e-con-inner {
    grid-template-columns: 1fr;
}

body.woocommerce-account:not(.logged-in) .mbm-account-menu-col {
    display: none;
}

.mbm-account-menu-col,
.mbm-account-content-col {
    min-width: 0;
}

.mbm-account-menu-col > .e-con-inner,
.mbm-account-content-col > .e-con-inner {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    position: sticky;
    top: 96px;
    overflow: hidden;
    padding: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 16px;
    color: #63717f;
    font-weight: 900;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::after {
    content: "›";
    opacity: 0.5;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    color: var(--mbm-account-primary);
    background: rgba(0, 140, 244, 0.09);
}

body.woocommerce-account .tcwe-account-menu .tcwe-account-menu__link {
    justify-content: flex-start !important;
    gap: 10px !important;
}

body.woocommerce-account .tcwe-account-menu .tcwe-account-menu__label {
    margin-right: auto;
}

body.woocommerce-account .tcwe-account-menu .tcwe-account-menu__link::after {
    margin-left: auto;
}

.mbm-account-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.mbm-account-dashboard-cards article {
    padding: 18px;
    border: 1px solid rgba(59, 64, 68, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--mbm-account-shadow-soft);
}

.mbm-account-dashboard-cards strong {
    display: block;
    color: var(--mbm-account-ink);
    font-size: 30px;
    line-height: 1;
}

.mbm-account-dashboard-cards span {
    display: block;
    margin-top: 6px;
    color: var(--mbm-account-muted);
    font-size: 14px;
    font-weight: 800;
}

.mbm-account-section-header {
    margin-bottom: 22px;
}

.mbm-account-section-header h2 {
    margin-bottom: 8px;
    color: var(--mbm-account-ink);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.mbm-account-section-header p {
    color: var(--mbm-account-muted);
}

body.woocommerce-account table.shop_table {
    overflow: hidden;
    width: 100%;
    margin: 0;
    border: 1px solid rgba(59, 64, 68, 0.08);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--mbm-account-shadow-soft);
}

body.woocommerce-account table.shop_table th,
body.woocommerce-account table.shop_table td {
    padding: 16px;
    border: 0;
    border-bottom: 1px solid rgba(59, 64, 68, 0.08);
    color: var(--mbm-account-text);
}

body.woocommerce-account table.shop_table th {
    color: var(--mbm-account-ink);
    background: linear-gradient(135deg, rgba(0, 140, 244, 0.08), rgba(221, 20, 221, 0.05));
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.woocommerce-account table.shop_table tr:last-child th,
body.woocommerce-account table.shop_table tr:last-child td {
    border-bottom: 0;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
    color: var(--mbm-account-ink);
    font-weight: 900;
}

body.woocommerce-account .woocommerce-table__product-name.product-name > a {
    color: var(--mbm-account-ink);
    font-weight: 900;
    text-decoration: none;
}

body.woocommerce-account .woocommerce-table__product-name.product-name > a:hover {
    color: var(--mbm-account-primary);
}

body.woocommerce-account .mbm-order-item-sku {
    margin: 6px 0 0;
    color: var(--mbm-account-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

body.woocommerce-account .mbm-order-item-sku span {
    color: var(--mbm-account-ink);
    text-transform: uppercase;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-status {
    color: var(--mbm-account-primary);
    font-weight: 900;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 14px;
    box-shadow: none;
}

body.woocommerce-account p.order-again {
    margin: 14px 0 0;
    text-align: right;
}

body.woocommerce-account p.order-again .button {
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(59, 64, 68, 0.14);
    border-radius: 999px;
    color: var(--mbm-account-muted) !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 800;
}

body.woocommerce-account p.order-again .button:hover {
    border-color: rgba(0, 140, 244, 0.22);
    color: var(--mbm-account-primary) !important;
    background: rgba(0, 140, 244, 0.07) !important;
    transform: none;
}

body.woocommerce-account .woocommerce-Address {
    padding: 20px;
    border: 1px solid rgba(59, 64, 68, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--mbm-account-shadow-soft);
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

body.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0;
}

body.woocommerce-account .woocommerce-Address-title .edit {
    font-weight: 900;
}

body.woocommerce-account .woocommerce-Message,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    margin: 0 0 18px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 140, 244, 0.16);
    border-radius: 20px;
    color: var(--mbm-account-ink);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--mbm-account-shadow-soft);
}

@media (max-width: 1024px) {
    .mbm-account-shell > .e-con-inner,
    body.woocommerce-account .u-columns#customer_login {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        position: static;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.woocommerce-account .elementor-location-single > .e-con,
    body.woocommerce-account .elementor-location-single > .elementor-element {
        width: min(calc(100% - 28px), 1240px);
    }

    .mbm-account-dashboard-cards,
    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account table.shop_table_responsive tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid rgba(59, 64, 68, 0.08);
        border-radius: 20px;
        background: #fff;
        box-shadow: var(--mbm-account-shadow-soft);
    }

    body.woocommerce-account table.shop_table_responsive tr td,
    body.woocommerce-account table.shop_table_responsive tr th {
        display: block;
        width: 100%;
        border: 0;
        text-align: left !important;
    }

    body.woocommerce-account table.shop_table_responsive tr td::before {
        float: none;
        display: block;
        margin-bottom: 4px;
        color: var(--mbm-account-muted);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
}

@media (max-width: 440px) {
    .mbm-account-hero {
        padding: 24px 20px;
    }

    .mbm-account-hero h1 {
        font-size: 34px;
    }

    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2,
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }
}
