/* Woo account UI. Native Woo endpoints and plugin panels remain intact. */
body.woocommerce-account .content-page{max-width:1480px;padding-block:22px 54px}
body.woocommerce-account .content-page>.mg-page-main{min-width:0;width:100%}
.mg-account-shell{--mg-a-green:var(--green,#003c38);--mg-a-gold:var(--gold,#b18440);--mg-a-cream:var(--cream,#f8f4ed);color:var(--ink,#142d2a);background:linear-gradient(145deg,#fffaf4,#f5eee5);border:1px solid #e5d9c9;border-radius:30px;box-shadow:0 18px 44px #3c33221c;padding:18px;overflow:hidden}
.mg-account-shell *{box-sizing:border-box}
.mg-account-shell-head{display:flex;align-items:center;gap:18px;padding:18px 25px;margin-bottom:18px;border-radius:24px;background:linear-gradient(115deg,#004138,#00302b 68%,#0d5848);color:#fff9ee}
.mg-account-shell-mark{min-width:190px;display:flex;align-items:center;gap:9px;padding-left:18px;border-left:1px solid #ffffff40;color:#f1d294;font-size:17px;font-weight:700}
.mg-account-shell-mark img{width:42px;height:52px;object-fit:contain}
.mg-account-shell-mark span{display:grid;line-height:1.4}.mg-account-shell-mark small{font-size:10px;letter-spacing:.05em;color:#f9f2e2}
.mg-account-shell-intro>span{color:#dfbc79;font-size:12px}.mg-account-shell-intro h1{font-size:clamp(24px,2.4vw,34px);color:#fff;margin:4px 0}.mg-account-shell-intro p{margin:0;color:#e5eee9;font-size:13px}
.mg-account-shell-grid{display:grid;grid-template-columns:192px minmax(0,1fr);gap:15px;align-items:start}
.mg-account-shell .woocommerce-MyAccount-navigation{float:none!important;width:auto!important;border:1px solid #e3d6c6;border-radius:24px;padding:18px 10px;background:#fffaf3;box-shadow:0 10px 24px #42331b12;position:sticky;top:16px}
.mg-account-shell .woocommerce-MyAccount-navigation:before{content:'ماناگوهر';display:block;text-align:center;color:var(--mg-a-green);font-size:20px;font-weight:800;margin:10px 0 22px}
.mg-account-shell .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.mg-account-shell .woocommerce-MyAccount-navigation li{padding:0;margin:2px 0;border-bottom:1px solid #efe7dc}.mg-account-shell .woocommerce-MyAccount-navigation li:last-child{border:0}
.mg-account-shell .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:12px;color:#173b34;text-decoration:none;font-size:13px;font-weight:600;line-height:1.4}.mg-account-shell .woocommerce-MyAccount-navigation .is-active a,.mg-account-shell .woocommerce-MyAccount-navigation a:hover,.mg-account-shell .woocommerce-MyAccount-navigation a:focus-visible{background:linear-gradient(120deg,#00634e,#003b34);color:#fff}
.mg-account-shell .woocommerce-MyAccount-navigation-link--customer-logout a{color:#a63732}
.mg-account-shell .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;line-height:1.9;margin:0}
.mg-account-shell-content{background:#fffdfa;border:1px solid #eadfd0;border-radius:24px;padding:18px;min-height:410px;box-shadow:0 8px 24px #473c2910}
.mg-account-shell-content>h2:first-child,.mg-account-shell-content>header:first-child h2{margin-top:4px;color:var(--mg-a-green)}
.mg-account-shell-content :is(a,.button):focus-visible{outline:2px solid var(--mg-a-gold);outline-offset:3px}
.mg-account-dashboard{display:grid;gap:16px}
.mg-account-welcome{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1.25fr);gap:14px;align-items:stretch}
.mg-account-greeting{display:flex;align-items:center;gap:15px;border-radius:24px;background:#faf4ec;border:1px solid #eadac5;padding:20px;min-height:182px}
.mg-account-greeting>div>span{font-size:12px;color:#906d36}.mg-account-greeting h2{margin:3px 0;color:#123d33;font-size:clamp(20px,2vw,27px)}.mg-account-greeting p{font-size:13px;color:#55625b;margin:0}
.mg-account-avatar{flex:none;display:grid;place-items:center;width:76px;height:76px;border-radius:50%;border:2px solid #c79a4f;background:#fff9ec;color:#00493e;font-size:32px;font-weight:700;box-shadow:0 0 0 5px #fff}
.mg-account-promo{position:relative;display:flex;align-items:center;overflow:hidden;border-radius:26px 60px 26px 26px;background:linear-gradient(115deg,#003a33,#086048);color:white;min-height:182px;padding:18px 24px}
.mg-account-promo>div{position:relative;z-index:1;width:58%}.mg-account-promo strong{display:block;color:#f3d390;font-size:clamp(19px,2vw,25px);line-height:1.5}.mg-account-promo p{font-size:12px;color:#f4f0e5;margin:7px 0}.mg-account-promo a{display:inline-block;border-radius:20px;background:#efc980;color:#123329;padding:7px 16px;font-size:12px;font-weight:700}
.mg-account-promo img{position:absolute;inset:0 52% 0 0;width:48%;height:100%;object-fit:cover;mask-image:linear-gradient(to right,#000 65%,transparent)}
.mg-account-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mg-account-summary>a{display:grid;gap:2px;position:relative;padding:16px 18px;border:1px solid #e8d9c5;border-radius:20px;background:linear-gradient(145deg,#fffdf9,#f7efe5);text-decoration:none;color:#152f2b;min-height:118px;box-shadow:0 7px 18px #2e231012}.mg-account-summary a:hover{border-color:#c5a05f}.mg-account-summary small{color:#53635b}.mg-account-summary strong{font-size:22px;line-height:1.35}.mg-account-summary em{font-style:normal;font-size:11px;color:#987036}.mg-account-summary-icon{position:absolute;left:15px;top:13px;color:#c08a39;font-size:23px}
.mg-account-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.mg-account-section-head small{font-size:11px;color:#936c3a}.mg-account-section-head h2{margin:0;font-size:22px;color:#003e35}.mg-account-section-head a{color:#005342;font-size:12px}
.mg-account-recent,.mg-account-service,.mg-account-identity{background:#fffaf4;border:1px solid #e9dbca;border-radius:22px;padding:20px}
.mg-account-order-card{display:flex;gap:17px;align-items:center;border:1px solid #e9dfd0;border-radius:16px;background:#fff;padding:12px}.mg-account-order-visual{flex:none;width:100px;height:90px;display:grid;place-items:center;background:#f6efe4;border-radius:12px;overflow:hidden}.mg-account-order-visual img{width:100%;height:100%;object-fit:cover}.mg-account-order-placeholder{font-size:40px;color:#bc9657}
.mg-account-order-copy{display:grid;gap:1px;min-width:0;flex:1;font-size:13px}.mg-account-order-copy small{color:#776d5c}.mg-account-order-copy strong{color:#00604b}.mg-account-button{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;background:#005342;color:#fff!important;border-radius:22px;padding:9px 17px;text-decoration:none;font-size:12px;font-weight:700}
.mg-account-empty{padding:22px;border-radius:18px;background:#f7f0e7;text-align:center}.mg-account-empty strong{font-size:18px}.mg-account-empty p{font-size:13px}.mg-account-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mg-account-service>span{font-size:24px;color:#b88636}.mg-account-service h2,.mg-account-identity h2{color:#004235;font-size:19px;margin:0}.mg-account-service p{color:#53645b;font-size:13px;margin:8px 0}.mg-account-service a{font-size:12px;color:#00604e;font-weight:700}
.mg-account-quick{display:flex;gap:10px;flex-wrap:wrap}.mg-account-quick a{border:1px solid #e0c9a4;border-radius:17px;padding:8px 14px;font-size:12px;background:#fff9ec;color:#005342;text-decoration:none}
.mg-account-shell-content :is(table.shop_table,.woocommerce-Addresses,.woocommerce-MyAccount-orders){width:100%}.mg-account-shell-content table.shop_table{border-collapse:separate;border-spacing:0;border:1px solid #eadcc9;border-radius:17px;overflow:hidden;background:#fffdf8}.mg-account-shell-content table.shop_table th{background:#f5ebdd;color:#1e493b}.mg-account-shell-content table.shop_table td,.mg-account-shell-content table.shop_table th{padding:11px 13px;border-bottom:1px solid #eee2d0}.mg-account-shell-content .woocommerce-Addresses{display:flex;gap:15px}.mg-account-shell-content .woocommerce-Address{float:none;width:50%;padding:16px;border:1px solid #eadcc9;border-radius:18px;background:#fffaf4}
.mg-account-shell-content :is(input.input-text,textarea,select){font:inherit;border:1px solid #d9c8ae;border-radius:12px;padding:10px;background:#fff}.mg-account-shell-content .woocommerce-form-row{margin-bottom:12px}.mg-account-shell-content .button{border-radius:20px!important}
@media (min-width: 701px) and (max-width: 1100px) {
    .mg-account-shell-grid { grid-template-columns: 168px minmax(0, 1fr); gap: 10px; }
    .mg-account-welcome { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; }
    .mg-account-greeting, .mg-account-promo { min-height: 155px; padding: 12px; }
    .mg-account-avatar { width: 42px; height: 42px; font-size: 19px; }
    .mg-account-promo > div { width: 68%; }
}
@media (min-width: 701px) {
    .mg-account-shell .woocommerce-MyAccount-navigation {
        top: 12px;
        padding: 15px 10px;
        border-radius: 18px;
        background: linear-gradient(145deg,#fffdf9,#f9f4ec);
    }
    .mg-account-shell .woocommerce-MyAccount-navigation a {
        padding: 8px 9px;
        min-height: 37px;
        border-radius: 9px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}
@media(max-width:700px){body.woocommerce-account .content-page{padding-top:8px}.mg-account-shell{padding:9px;border-radius:22px}.mg-account-shell-head{padding:15px;border-radius:20px;margin-bottom:9px}.mg-account-shell-mark{min-width:auto}.mg-account-shell-mark span{display:none}.mg-account-shell-intro h1{font-size:21px}.mg-account-shell-intro p{font-size:11px}.mg-account-shell-grid{display:block}.mg-account-shell .woocommerce-MyAccount-navigation{position:static;width:100%!important;padding:8px;margin-bottom:10px;overflow-x:auto;border-radius:17px;scrollbar-width:thin}.mg-account-shell .woocommerce-MyAccount-navigation:before{display:none}.mg-account-shell .woocommerce-MyAccount-navigation ul{display:flex;gap:5px;width:max-content;min-width:100%}.mg-account-shell .woocommerce-MyAccount-navigation li{flex:none;border:0;margin:0}.mg-account-shell .woocommerce-MyAccount-navigation a{padding:8px 12px;font-size:12px;white-space:nowrap}.mg-account-shell-content{padding:11px;border-radius:18px;min-height:350px}.mg-account-dashboard{gap:10px}.mg-account-welcome{gap:10px}.mg-account-greeting{min-height:110px;padding:12px}.mg-account-avatar{width:54px;height:54px;font-size:23px}.mg-account-greeting h2{font-size:17px}.mg-account-greeting p{font-size:11px}.mg-account-promo{min-height:145px;border-radius:20px 45px 20px 20px;padding:12px 16px}.mg-account-promo strong{font-size:17px}.mg-account-promo p{font-size:11px}.mg-account-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.mg-account-summary>a{min-height:100px;padding:11px 9px;border-radius:15px}.mg-account-summary small,.mg-account-summary em{font-size:10px}.mg-account-summary strong{font-size:14px}.mg-account-summary-icon{position:static;font-size:17px;line-height:1}.mg-account-recent,.mg-account-service,.mg-account-identity{padding:13px;border-radius:17px}.mg-account-section-head h2{font-size:18px}.mg-account-order-card{flex-wrap:wrap;gap:8px}.mg-account-order-visual{width:68px;height:68px}.mg-account-order-copy{font-size:11px}.mg-account-order-card .mg-account-button{width:100%}.mg-account-service-grid{grid-template-columns:1fr;gap:10px}.mg-account-shell-content .woocommerce-Addresses{display:block}.mg-account-shell-content .woocommerce-Address{width:100%;margin-bottom:10px}.mg-account-shell-content table.shop_table{display:block;overflow-x:auto;max-width:100%}.mg-account-shell-content table.shop_table td,.mg-account-shell-content table.shop_table th{min-width:92px}.mg-account-shell-content :is(input.input-text,textarea,select){max-width:100%}}

/* Approved account design, reused for Woo's native internal endpoints. */
.mg-account-shell-head{position:relative;isolation:isolate;min-height:180px;padding:22px 25px 22px 30px;border-radius:46px 25px 70px 25px;overflow:hidden;border-bottom:2px solid #d8ab62;background:linear-gradient(110deg,#003b33,#064a3c 72%,#00372f)}
.mg-account-shell-head:after{content:"";position:absolute;inset:0 0 0 auto;width:42%;border-radius:65% 0 0 18%;border-left:4px solid #d8ab62;pointer-events:none;z-index:0}
.mg-account-shell-mark,.mg-account-shell-intro{position:relative;z-index:1}.mg-account-shell-intro{max-width:55%;margin-right:auto;text-align:right}.mg-account-shell-hero-image{position:absolute;inset:0 auto 0 0;width:42%;height:100%;object-fit:cover;object-position:center 55%;z-index:0;mask-image:linear-gradient(to left,transparent 0,#000 25%)}
.mg-account-shell-content{background:linear-gradient(155deg,#fffdfa,#f9f4ec);border-radius:28px;min-height:440px}
.mg-account-content-title{display:flex;flex-direction:column;gap:2px;margin:0 0 18px;padding:16px 20px;border-radius:26px 17px 30px 17px;background:linear-gradient(120deg,#fff9ee,#eaf3ed);border:1px solid #e6d9c4}
.mg-account-content-title span{font-size:11px;color:#a2742e}.mg-account-content-title h2{margin:0;color:#064839;font-size:clamp(20px,2.1vw,27px)}.mg-account-content-title p{margin:0;color:#607369;font-size:13px}
.mg-account-shell-content .woocommerce-orders-table,.mg-account-shell-content .woocommerce-table--order-details{box-shadow:0 5px 16px #2b21100e}
.mg-account-shell-content .woocommerce-Orders-table__cell-order-actions a,.mg-account-shell-content .woocommerce-Address-title a{display:inline-flex;align-items:center;min-height:36px;border-radius:20px;padding:6px 12px;background:#f5e8d4;color:#0c503f;font-weight:700}
.mg-account-shell-content .woocommerce-Addresses{align-items:stretch}.mg-account-shell-content .woocommerce-Address{border-radius:26px 16px 30px 18px;box-shadow:0 8px 18px #43331a10}
.mg-account-shell-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e7dac9;padding-bottom:10px;margin-bottom:10px}.mg-account-shell-content .woocommerce-Address-title h3{margin:0;color:#075343;font-size:18px}
.mg-account-shell-content :is(.woocommerce-address-fields,.woocommerce-EditAccountForm,.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-MyAccount-paymentMethods){padding:14px;border:1px solid #e8dccb;background:#fffdf9;border-radius:23px;margin:0 0 16px}
.mg-account-shell-content .woocommerce-form-row label{display:block;color:#31574a;font-size:13px;font-weight:700;margin-bottom:4px}.mg-account-shell-content .woocommerce-form-row input.input-text{width:100%;min-height:42px;background:#fff}
.mg-account-shell-content :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border-radius:16px;margin:8px 0 18px;line-height:1.9}
.mg-account-shell-content .woocommerce-order-details :is(h2,h3),.mg-account-shell-content .woocommerce-customer-details :is(h2,h3){color:#064839}
@media(max-width:700px){.mg-account-shell-head{min-height:138px;padding:15px 13px;border-radius:24px 17px 38px 17px}.mg-account-shell-head:after,.mg-account-shell-hero-image{width:38%}.mg-account-shell-mark{display:none}.mg-account-shell-intro{max-width:64%;margin:0}.mg-account-shell-intro h1{font-size:19px}.mg-account-shell-intro p{font-size:10px;line-height:1.7}.mg-account-content-title{padding:12px;margin-bottom:12px}.mg-account-content-title h2{font-size:20px}.mg-account-content-title p{font-size:11px}.mg-account-shell-content :is(.woocommerce-address-fields,.woocommerce-EditAccountForm,.woocommerce-order-details,.woocommerce-customer-details,.woocommerce-MyAccount-paymentMethods){padding:10px}.mg-account-shell-content .woocommerce-Address-title h3{font-size:16px}}
@media(max-width:420px){.mg-account-shell-head{min-height:115px}.mg-account-shell-hero-image{width:36%}.mg-account-shell-intro{max-width:70%}.mg-account-shell-intro p{max-width:195px}.mg-account-shell-content table.shop_table{font-size:12px}}

/* Order cards use WooCommerce status labels and remain readable on narrow screens. */
.mg-account-order-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.mg-account-order-status {
    justify-self: start;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eaf4ee;
    color: #24533f;
}
.mg-account-order-copy time { color: #50645a; }
.mg-account-order-copy { overflow-wrap: anywhere; }
@media (max-width: 700px) {
    .mg-account-order-list .mg-account-order-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px 10px; }
    .mg-account-order-list .mg-account-order-visual { width: 58px; height: 62px; }
    .mg-account-order-list .mg-account-button { grid-column: 1 / -1; justify-self: stretch; }
}

.mg-support { display: grid; gap: 16px; }
.mg-support-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mg-support-form label { display: grid; gap: 4px; min-width: 0; font-weight: 600; }
.mg-support-form label:nth-last-of-type(-n+2) { grid-column: 1 / -1; }
.mg-support-form :is(input, select, textarea) { width: 100%; }
.mg-support-form button { justify-self: start; }
.mg-support-ticket { margin-block: 8px; padding: 12px; border: 1px solid #e9dbca; border-radius: 14px; overflow-wrap: anywhere; }
.mg-support-ticket summary { cursor: pointer; font-weight: 700; }
.mg-support-ticket summary small { margin-inline-start: 8px; color: #356047; }
@media (max-width: 700px) {
    .mg-support-form { grid-template-columns: minmax(0, 1fr); }
    .mg-support-form button { width: 100%; }
}

/* TeraWallet account content keeps the plugin's actions and forms. */
.mg-account-shell .woo-wallet-my-wallet-container,
.mg-account-shell .woo-wallet-content-area,
.mg-account-shell .woo-wallet-top-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.mg-account-shell .woo-wallet-price { overflow-wrap: anywhere; }
.mg-account-shell .woo-wallet-nav-tabs { flex-wrap: wrap; gap: 8px; }
.mg-account-shell .woo-wallet-statement { min-width: 0; max-width: 100%; }
@media (max-width: 700px) {
    .mg-account-shell .woo-wallet-top-section { display: flex; flex-direction: column; }
    .mg-account-shell .woo-wallet-balance-card { width: 100%; min-width: 0; }
    .mg-account-shell .woo-wallet-content-area { overflow-x: auto; }
    .mg-account-shell .woo-wallet-content-area :is(input, select, textarea) { max-width: 100%; }
    .mg-account-shell .woo-wallet-nav-tab { min-height: 44px; }
}

.mg-account-profile-note {
    grid-column: 1 / -1;
    padding: 14px 16px;
    border: 1px solid #dce9df;
    border-radius: 18px 12px;
    background: #eff7f1;
    color: #24533f;
}
.mg-account-profile-note p { margin: 4px 0 0; font-size: 13px; }
.mg-account-shell-content .woocommerce-EditAccountForm { display: flow-root; padding: clamp(13px, 2vw, 22px); }
.mg-account-shell-content .woocommerce-EditAccountForm fieldset { clear: both; min-width: 0; margin: 16px 0; padding: 14px; border: 1px solid #e4d9ca; border-radius: 18px; }
.mg-account-shell-content .woocommerce-EditAccountForm legend { padding-inline: 8px; color: #24533f; font-weight: 700; }
.mg-support .mg-account-service { min-width: 0; }
.mg-support-ticket { background: #fff; }
.mg-support-ticket h3 { color: #24533f; font-size: 14px; }
@media (min-width: 1024px) {
    .mg-support { grid-template-columns: minmax(230px, 1fr) minmax(0, 1.4fr); align-items: start; }
    .mg-support > [role="status"] { grid-column: 1 / -1; }
    .mg-support-history { grid-column: 1; grid-row: 2; }
    .mg-support-compose { grid-column: 2; grid-row: 2; }
}
@media (max-width: 700px) {
    .mg-account-shell-content .woocommerce-EditAccountForm :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
    .mg-account-shell-content .woocommerce-EditAccountForm button[type="submit"] { width: 100%; }
}

.mg-notice-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.mg-notice-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid #e2eade; border-radius: 18px; background: #fff; }
.mg-notice-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #24533f; background: #eaf4ee; }
.mg-notice-copy { display: grid; min-width: 0; overflow-wrap: anywhere; }
.mg-notice-copy :is(small,time) { color: #4c6457; font-size: 12px; }
@media (max-width: 700px) {
    .mg-notice-item { grid-template-columns: auto minmax(0, 1fr); }
    .mg-notice-item .mg-account-button { grid-column: 1 / -1; width: 100%; }
}

.mg-notice-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-block: 10px 16px; }
.mg-notice-toolbar nav { margin: 0; }
.mg-notice-toolbar a[aria-current="page"] { background: #24533f; border-color: #24533f; color: #fff; }
.mg-notice-toolbar button { border: 0; cursor: pointer; }
.mg-notice-new { justify-self: start; padding: 0 8px; border-radius: 20px; background: #eaf4ee; color: #24533f; font-size: 11px; font-weight: 700; }
@media (max-width: 700px) {
    .mg-notice-toolbar form, .mg-notice-toolbar form button { width: 100%; }
}
.mg-account-shell .woocommerce-Address { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
    .mg-account-shell .woocommerce-EditAccountForm .form-row { float: none; width: 100%; }
}

/* Keep the heading in the opaque green area, independent of the selected image. */
.mg-account-shell-intro {
    flex: 0 1 43%;
    max-width: 43%;
    margin: 0;
    overflow-wrap: anywhere;
}
.mg-account-shell-hero-image {
    width: 35%;
    mask-image: linear-gradient(to left, transparent, #000 48%);
}
.mg-account-shell-intro > span { color: #f2d59b; }
.mg-account-shell-intro p { color: #f0f7f2; }

@media (max-width: 700px) {
    .mg-account-shell-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .mg-account-shell .woocommerce-MyAccount-navigation {
        position: static;
        min-width: 0;
        padding: 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .mg-account-shell .woocommerce-MyAccount-navigation::before { display: none; }
    .mg-account-shell .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 5px;
        width: max-content;
        min-width: 100%;
    }
    .mg-account-shell .woocommerce-MyAccount-navigation li { flex: none; border: 0; margin: 0; scroll-snap-align: start; }
    .mg-account-shell .woocommerce-MyAccount-navigation a {
        display: flex;
        align-items: center;
        min-height: 44px;
        white-space: nowrap;
        border: 1px solid #e7dac7;
        border-radius: 16px;
        background: #fffaf5;
    }
    .mg-account-shell .woocommerce-MyAccount-navigation a:focus-visible {
        outline: 2px solid #c08a39;
        outline-offset: -2px;
    }

    .mg-account-shell-content table.woocommerce-orders-table {
        display: block;
        border: 0;
        box-shadow: none;
        background: none;
        overflow: visible;
    }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table tbody { display: grid; gap: 12px; }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1px 12px;
        padding: 9px 12px;
        border: 1px solid #e4dacb;
        border-radius: 18px;
        background: #fff;
    }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table tr > :is(td, th) {
        display: block;
        min-width: 0;
        padding: 6px 0;
        border: 0;
        background: none;
        text-align: start !important;
        overflow-wrap: anywhere;
    }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table tr > [data-title]::before {
        content: attr(data-title);
        display: block;
        float: none;
        color: #52695d;
        font-size: 12px;
        font-weight: 600;
    }
    .mg-account-shell .mg-account-shell-content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
        grid-column: 1 / -1;
        border-top: 1px solid #efe7dd;
    }
    .mg-account-shell-content .woocommerce-orders-table__cell-order-actions a { margin-block: 4px; min-height: 44px; }
    .mg-account-shell-content .woocommerce-orders-table__cell-order-number a { font-weight: 800; color: #075343; }
}
@media (max-width: 700px) {
    .mg-account-welcome { grid-template-columns: minmax(0, 1fr); }
    .mg-account-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mg-account-shell-intro { flex-basis: 66%; max-width: 66%; }
    .mg-account-shell-intro p { font-size: 12px; }
    .mg-account-shell-hero-image { width: 34%; }
}
@media (min-width: 701px) and (max-width: 1024px) {
    .mg-account-shell-mark { min-width: 120px; padding-inline-end: 10px; }
    .mg-account-shell-intro { max-width: calc(65% - 138px); }
}

.mg-account-shell #mana-wishlist .product-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.mg-account-shell #mana-wishlist .product-rail > * { min-width: 0; width: auto; }
