body.woocommerce-account {
    --mm-acc-bg: #f5f7fb;
    --mm-acc-card: #ffffff;
    --mm-acc-border: #dbe4f0;
    --mm-acc-text: #1b2940;
    --mm-acc-muted: #5a677c;
    --mm-acc-primary: #0d2a4f;
    --mm-acc-primary-soft: #eff4fb;
    --mm-acc-accent: #b5852f;
    --mm-acc-shadow: 0 18px 36px rgba(10, 28, 56, 0.08);
}

body.woocommerce-account:not(.logged-in) {
    background:
        radial-gradient(circle at top left, rgba(13, 42, 79, 0.08), transparent 30%),
        radial-gradient(circle at 86% 10%, rgba(201, 160, 80, 0.10), transparent 24%),
        linear-gradient(180deg, #f7f8fc 0%, #eef2f7 100%);
}

body.woocommerce-account .site-main,
body.woocommerce-account .entry-content {
    background: var(--mm-acc-bg);
}

body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) .entry-content {
    background: transparent;
}

body.woocommerce-account:not(.logged-in) .entry-title {
    color: var(--mm-acc-primary);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
    margin: 0 0 22px;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: clamp(10px, 2vw, 24px) 0 56px;
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-notices-wrapper {
    margin: 0 auto;
    width: min(100%, 470px);
}

body.woocommerce-account:not(.logged-in) .woocommerce #customer_login,
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 12px;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
    float: none !important;
    width: auto !important;
    min-width: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column2:empty,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 > :empty {
    display: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
    margin-top: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register {
    width: min(100%, 470px);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 30px 28px 26px;
    border: 1px solid rgba(13, 42, 79, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.98));
    box-shadow: 0 22px 54px rgba(10, 28, 56, 0.11);
    backdrop-filter: blur(10px);
}

body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login::before,
body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: linear-gradient(90deg, var(--mm-acc-primary) 0%, var(--mm-acc-accent) 100%);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .form-row {
    margin-bottom: 16px;
}

body.woocommerce-account:not(.logged-in) .woocommerce form label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--mm-acc-text);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .required {
    color: #bf1f1f;
    text-decoration: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .input-text,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="password"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="tel"],
body.woocommerce-account:not(.logged-in) .woocommerce form textarea,
body.woocommerce-account:not(.logged-in) .woocommerce form select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(13, 42, 79, 0.18);
    background: #ffffff;
    color: var(--mm-acc-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .input-text:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="text"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="email"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="password"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="tel"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form textarea:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form select:focus {
    border-color: rgba(181, 133, 47, 0.75);
    box-shadow: 0 0 0 4px rgba(181, 133, 47, 0.14);
    outline: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__rememberme,
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-LostPassword,
body.woocommerce-account:not(.logged-in) .woocommerce form .lost_password {
    color: var(--mm-acc-muted);
    font-size: 0.95rem;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-register__submit,
body.woocommerce-account:not(.logged-in) .woocommerce form .button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--mm-acc-primary) 0%, #153a6a 100%);
    color: #ffffff;
    font-weight: 700;
    min-height: 48px;
    padding: 12px 20px;
    box-shadow: 0 14px 26px rgba(13, 42, 79, 0.18);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__submit:hover,
body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-register__submit:hover,
body.woocommerce-account:not(.logged-in) .woocommerce form .button:hover {
    background: linear-gradient(135deg, #153a6a 0%, var(--mm-acc-primary) 100%);
    box-shadow: 0 18px 30px rgba(13, 42, 79, 0.22);
    transform: translateY(-1px);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .button:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form .button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(181, 133, 47, 0.2), 0 18px 30px rgba(13, 42, 79, 0.22);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-LostPassword a,
body.woocommerce-account:not(.logged-in) .woocommerce form .lost_password a {
    color: var(--mm-acc-primary);
    font-weight: 700;
    text-decoration: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-LostPassword a:hover,
body.woocommerce-account:not(.logged-in) .woocommerce form .lost_password a:hover {
    color: var(--mm-acc-accent);
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-info,
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-message,
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-error {
    border-radius: 16px;
    border-width: 1px;
    box-shadow: 0 12px 28px rgba(10, 28, 56, 0.08);
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login h2,
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-register h2 {
    margin: 0 0 14px;
    color: var(--mm-acc-primary);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login p,
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-register p {
    color: var(--mm-acc-muted);
}

body.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    grid-template-areas:
        "notices notices"
        "nav content";
    gap: 26px;
    align-items: start;
}

body.woocommerce-account .woocommerce-notices-wrapper {
    grid-area: notices;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    grid-area: nav;
    background: var(--mm-acc-card);
    border: 1px solid var(--mm-acc-border);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--mm-acc-shadow);
    position: sticky;
    top: 24px;
    float: none !important;
    width: auto !important;
    margin: 0;
}

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

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--mm-acc-text);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    opacity: 0.8;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: var(--mm-acc-primary-soft);
    color: var(--mm-acc-primary);
    transform: translateX(2px);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover::before {
    opacity: 1;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.8V21h14V9.8'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--orders a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--downloads a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-address a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 6-9 13-9 13S3 16 3 10a9 9 0 1 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--edit-account a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content {
    grid-area: content;
    background: var(--mm-acc-card);
    border: 1px solid var(--mm-acc-border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--mm-acc-shadow);
    color: var(--mm-acc-text);
    float: none !important;
    width: auto !important;
    margin: 0;
    min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
    color: var(--mm-acc-muted);
    line-height: 1.6;
}

body.woocommerce-account .woocommerce-MyAccount-content p strong {
    color: var(--mm-acc-text);
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: var(--mm-acc-primary);
    font-weight: 600;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    border-radius: 12px;
    border-width: 1px;
    box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message {
    background: #f5f9ef;
    border-color: #cfe1ad;
    color: #264315;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-content .woo-referral-box {
    border: 1px solid #d3ebe2 !important;
    border-left: 4px solid #1e9f7a !important;
    border-radius: 12px !important;
    background: #f4fcf8 !important;
    padding: 14px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woo-referral-box > div {
    margin-top: 10px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woo-referral-box input[type="text"] {
    border-radius: 10px !important;
    border: 1px solid #cddbe8 !important;
    min-height: 42px !important;
    padding: 9px 11px !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woo-referral-box small {
    color: var(--mm-acc-muted) !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address:nth-child(1) {
    order: 2; /* Facturación abajo */
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address:nth-child(2) {
    order: 1; /* Envío arriba */
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid var(--mm-acc-border);
    border-radius: 14px;
    background: #fbfdff;
    padding: 16px;
    min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--mm-acc-primary);
    font-weight: 800;
    letter-spacing: -0.01em;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 10px;
    background: var(--mm-acc-primary-soft);
    color: var(--mm-acc-primary);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    float: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit::before {
    content: "";
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address {
    margin: 0;
    color: var(--mm-acc-text);
    font-style: normal;
    line-height: 1.65;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: var(--mm-acc-primary);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-top: 14px;
}

/* Historial de puntos */
body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}

body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table th:nth-child(1),
body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table td:nth-child(1) {
    width: 32%;
}

body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table th:nth-child(2),
body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table td:nth-child(2) {
    width: 30%;
}

body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table th:nth-child(3),
body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table td:nth-child(3) {
    width: 12%;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #1f3558;
}

body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table th:nth-child(4),
body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table td:nth-child(4) {
    width: 14%;
    text-align: center;
}

body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table td:nth-child(4) a {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef3fb;
    border: 1px solid #d6e0ef;
    color: var(--mm-acc-primary);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-content table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--mm-acc-border);
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    margin-top: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content table th {
    background: #f2f6fc;
    color: var(--mm-acc-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--mm-acc-border);
}

body.woocommerce-account .woocommerce-MyAccount-content table th,
body.woocommerce-account .woocommerce-MyAccount-content table td {
    padding: 12px 11px;
    border-right: 1px solid #e8edf5;
}

body.woocommerce-account .woocommerce-MyAccount-content table tr td:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table tr th:last-child {
    border-right: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content table tbody tr:nth-child(even) {
    background: #fbfcff;
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table th.woocommerce-orders-table__header-order-actions,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    width: 240px;
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
    white-space: normal;
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    margin: 0 8px 8px 0;
    border-radius: 10px;
    white-space: nowrap;
    line-height: 1.1;
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button::before,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    margin-right: 7px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button.view::before,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button.view::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button.pay::before,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button.pay::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button.cancel::before,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button.cancel::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child {
    margin-right: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce-MyAccount-content select {
    border-radius: 10px;
    border: 1px solid #ced8e8;
    background: #fff;
    min-height: 42px;
}

body.woocommerce-account .woocommerce-MyAccount-content button,
body.woocommerce-account .woocommerce-MyAccount-content .button {
    border-radius: 10px;
    background: var(--mm-acc-primary);
    color: #fff;
    border: 0;
    font-weight: 700;
    min-height: 42px;
    padding: 10px 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover {
    background: #153a6a;
    color: #fff;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
    display: grid;
    gap: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row {
    margin: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last {
    width: calc(50% - 10px);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm label {
    display: inline-block;
    margin-bottom: 7px;
    color: #425874;
    font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .required {
    color: #b21f1f;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm #account_display_name_description {
    display: block;
    margin-top: 8px;
    color: #66768f;
    font-size: 0.94rem;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
    border: 1px solid #d5dfed;
    background: #f8fbff;
    border-radius: 14px;
    padding: 16px 16px 10px;
    margin-top: 8px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend {
    color: var(--mm-acc-primary);
    font-weight: 800;
    font-size: 1rem;
    padding: 0 8px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input {
    display: block;
    position: relative;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input input {
    width: 100%;
    padding-right: 52px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid #c8d6ea;
    background: #edf3fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input::after {
    content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input::before {
    content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input.display-password::before {
    content: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input.display-password {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a21.8 21.8 0 0 1 5.06-5.94M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a21.8 21.8 0 0 1-3.2 4.42M1 1l22 22'/%3E%3C/svg%3E");
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input:hover {
    background: #e3edf9;
    border-color: #b9cce6;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:last-child {
    margin-top: 4px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm button[name="save_account_details"] {
    min-width: 220px;
}

@media (max-width: 1100px) {
    body.woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
        grid-template-areas:
            "notices"
            "nav"
            "content";
        gap: 18px;
    }

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

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

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        min-height: 48px;
        padding: 12px 10px;
        gap: 8px;
        font-size: 0.9rem;
        justify-content: center;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a::before {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        background-size: 14px 14px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 20px;
    }

    body.woocommerce-account:not(.logged-in) .entry-title {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
        margin-bottom: 14px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-login,
    body.woocommerce-account:not(.logged-in) .woocommerce form.woocommerce-form-register {
        padding: 26px 22px 22px;
        border-radius: 22px;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce #customer_login,
    body.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    body.woocommerce-account:not(.logged-in) .woocommerce {
        gap: 14px;
        padding-bottom: 42px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table th.woocommerce-orders-table__header-order-actions,
    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        width: 180px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table th,
    body.woocommerce-account .woocommerce-MyAccount-content table td {
        padding: 12px 10px;
        font-size: 0.93rem;
        vertical-align: top;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
        min-height: 36px;
        padding: 7px 12px;
        margin: 0 6px 6px 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    body.woocommerce-account .woocommerce {
        gap: 16px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        padding: 10px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        justify-content: flex-start;
        font-size: 0.95rem;
        padding: 11px 12px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 16px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
        display: block;
        width: 100%;
        white-space: normal;
        border: 0;
        background: transparent;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
        display: none;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tbody,
    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
        display: block;
        width: 100%;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table tr {
        border: 1px solid var(--mm-acc-border);
        border-radius: 12px;
        background: #ffffff;
        margin-bottom: 12px;
        overflow: hidden;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e8edf5;
        padding: 11px 12px;
        text-align: right;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td:last-child {
        border-bottom: 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td::before {
        content: attr(data-title) ":";
        margin: 0;
        float: none;
        color: var(--mm-acc-primary);
        font-weight: 700;
        text-transform: none;
        letter-spacing: 0;
        font-size: 0.92rem;
        text-align: left;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        display: block;
        min-width: 0;
        text-align: left;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
        display: block;
        margin-bottom: 8px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .button,
    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions .woocommerce-button {
        margin: 0 8px 8px 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions {
        min-width: 0;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
        font-size: 1.6rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-first,
    body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row-last {
        width: 100%;
    }

    body.woocommerce-account .woocommerce-MyAccount-content h3 + table.shop_table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
