/* Mbeauty Account 1.1.1. Scoped: no global reset, no checkout layout rewrite. */
body.mba-account-page {
 --mba-ink:#111111; --mba-muted:#737373; --mba-accent:#111111;
 --mba-line:#ededed; --mba-paper:#fff; --mba-surface:#fafafa;
 --mba-radius:24px; --mba-shadow:0 12px 42px rgba(0,0,0,.04);
}
.mba-account-page:not(.mba-wishlist-page) .page-title,
.mba-wishlist-page.mba-wishlist-ready .page-title { display:none; }
.mba-account-page.woocommerce-lost-password .page-title { display:block; }
.mba-account-page .main-page-wrapper { background:var(--mba-surface); }
.mba-account-page .wd-content-layout { padding-block:24px 48px; }
.mba-account-page .woocommerce { color:var(--mba-ink); }
.mba-account-page .mba-layout { display:grid; gap:24px; max-width:1120px; margin-inline:auto; }
.mba-account-page .mba-layout *,.mba-account-page .mba-auth * { box-sizing:border-box; }
.mba-account-page h1 { font-size:clamp(26px,5vw,36px); line-height:1.2; letter-spacing:-.035em; margin:0 0 24px; }
.mba-account-page h2 { font-size:21px; line-height:1.35; letter-spacing:-.02em; }
.mba-account-page .mba-panel { padding:24px; border:1px solid var(--mba-line); border-radius:var(--mba-radius); background:white; box-shadow:var(--mba-shadow); }
.mba-account-page .mba-sidebar { min-width:0; }
.mba-account-page .mba-profile { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:28px 24px 42px; min-height:170px; border-radius:28px 28px 0 0; background:radial-gradient(ellipse at 92% 5%,#fff7fd 0,transparent 55%),linear-gradient(120deg,#f4dce9,#eeddec 62%,#e7e6fa); overflow:hidden; }
.mba-account-page .mba-profile>div { min-width:0; }
.mba-account-page .mba-profile h2 { font-size:26px; margin:8px 0 4px; overflow-wrap:anywhere; }
.mba-account-page .mba-profile p { margin:0; font-size:13px; overflow-wrap:anywhere; }
.mba-account-page .mba-eyebrow { font-size:10px; font-weight:700; letter-spacing:.16em; color:#737373; }
.mba-account-page .mba-profile-art { font-size:94px; line-height:1; color:#ffffffd9; text-shadow:0 5px 15px #a9608855; flex:none; }
.mba-account-page .mba-menu.woocommerce-MyAccount-navigation { float:none; width:100%; max-width:none; margin:-20px 0 0; padding:10px 12px; background:white; border:1px solid var(--mba-line); border-radius:24px; position:relative; }
.mba-account-page .mba-menu>a,.mba-account-page .mba-details>summary { display:flex; align-items:center; gap:13px; min-height:60px; padding:12px; border-radius:14px; text-decoration:none; color:var(--mba-ink); font-size:15px; line-height:1.4; font-weight:500; cursor:pointer; }
.mba-account-page .mba-menu>a:hover,.mba-account-page .mba-details>summary:hover,.mba-account-page .mba-menu>[aria-current] { background:#f4f4f4; color:var(--mba-accent); }
.mba-account-page .mba-menu svg,.mba-account-page .mba-logout svg,.mba-account-page .mba-back svg { width:22px; height:22px; flex:none; }
.mba-account-page .mba-chevron { margin-inline-start:auto; color:#8a8a8a; font-size:22px; }
.mba-account-page .mba-details>summary { list-style:none; }
.mba-account-page .mba-details>summary::-webkit-details-marker { display:none; }
.mba-account-page .mba-details-inner { padding:8px 12px 18px 47px; font-size:14px; }
.mba-account-page .mba-details-inner>a { display:block; padding:8px 0; text-decoration:underline; }
.mba-account-page .mba-logout { display:flex; gap:12px; align-items:center; justify-content:center; min-height:54px; color:#b42318; background:#fff; border:1px solid #f0d7d5; border-radius:18px; margin-top:16px; font-weight:600; }
.mba-account-page .mba-content.woocommerce-MyAccount-content { float:none; width:100%; max-width:none; padding:0; border:0; min-width:0; }
.mba-account-page .mba-back { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-bottom:16px; color:var(--mba-muted); font-size:14px; }
.mba-account-page .mba-welcome { padding:32px; background:white; border:1px solid var(--mba-line); border-radius:28px; }
.mba-account-page .mba-welcome h1 { margin-top:18px; }
.mba-account-page .mba-welcome p { color:var(--mba-muted); }
.mba-account-page .mba-auth { max-width:480px; margin:12px auto; padding:28px 22px; }
.mba-account-page .mba-auth h1 { margin:16px 0 14px; }
.mba-account-page .mba-muted { color:var(--mba-muted); line-height:1.65; font-size:14px; }
.mba-account-page .mba-auth form { margin-top:28px; padding:0; border:0; background:transparent; }
.mba-account-page .form-row { margin-bottom:20px; }
.mba-account-page form label { display:block; font-size:14px; font-weight:600; margin-bottom:8px; }
.mba-account-page form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),.mba-account-page form select,.mba-account-page form textarea { border:1px solid #e5e5e5; border-radius:14px; background:#f6f6f6; min-height:52px; padding:12px 15px; font-size:16px; width:100%; box-shadow:none; color:var(--mba-ink); }
.mba-account-page form textarea { min-height:100px; }
.mba-account-page .select2-container .select2-selection--single { min-height:52px; border-radius:14px; border-color:#e5e5e5; background:#f6f6f6; padding:10px 6px; }
.mba-account-page form input:focus,.mba-account-page form select:focus,.mba-account-page form textarea:focus { background:white; border-color:var(--mba-accent); outline:2px solid #11111125; outline-offset:2px; }
.mba-account-page form input[type=checkbox] { width:18px; height:18px; vertical-align:middle; accent-color:var(--mba-accent); }
.mba-account-page .mba-password { display:block; position:relative; }
.mba-account-page .mba-password input { padding-inline-end:94px!important; }
.mba-account-page .mba-password .mba-reveal { position:absolute; inset-inline-end:5px; top:4px; min-height:44px; padding:8px 12px; background:transparent; color:var(--mba-accent); border:0; box-shadow:none; font-size:12px; text-transform:none; }
.mba-account-page [hidden] { display:none!important; }
.mba-account-page small { display:block; margin-top:7px; font-size:12px; color:var(--mba-muted); }
.mba-account-page .mba-login-options { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 12px; align-items:center; margin:2px 0 22px; font-size:13px; }
.mba-account-page .mba-login-options label { display:flex; align-items:center; gap:7px; margin:0; min-height:44px; font-size:13px; font-weight:400; }
.mba-account-page .mba-login-options a { padding:12px 0; text-decoration:underline; }
.mba-account-page .button,.mba-account-page button[type=submit] { min-height:48px; padding:13px 22px; border-radius:14px; text-transform:none; font-weight:600; font-size:14px; line-height:1.4; }
.mba-account-page .button.mba-primary,.mba-account-page .mba-auth button[type=submit],.mba-account-page .woocommerce-EditAccountForm button[type=submit],.mba-account-page button[name=save_address] { background:var(--mba-accent); color:white; border:1px solid var(--mba-accent); box-shadow:none; }
.mba-account-page .mba-auth button[type=submit] { width:100%; }
.mba-account-page .mba-primary:hover { background:#333333; border-color:#333333; color:white; }
.mba-account-page .mba-auth-switch { text-align:center; font-size:14px; margin:24px 0 0; }
.mba-account-page .mba-auth-switch a { color:var(--mba-accent); text-decoration:underline; font-weight:600; }
.mba-account-page .woocommerce-privacy-policy-text { color:var(--mba-muted); font-size:12px; }
.mba-account-page .woocommerce-privacy-policy-text a { text-decoration:underline; }
.mba-account-page .mba-tabs { display:flex; gap:16px; border-bottom:1px solid var(--mba-line); margin-bottom:24px; }
.mba-account-page .mba-tabs a { flex:1; min-height:50px; text-align:center; padding:13px 0; font-size:14px; color:var(--mba-muted); border-bottom:2px solid transparent; }
.mba-account-page .mba-tabs [aria-current] { color:var(--mba-ink); border-color:var(--mba-accent); font-weight:600; }
.mba-account-page .mba-empty { padding:48px 12px; text-align:center; }
.mba-account-page .mba-empty h2 { font-size:23px; margin:26px auto; max-width:340px; }
.mba-account-page .mba-illustration { width:132px; height:132px; border-radius:40px; display:grid; place-items:center; margin:auto; transform:none; background:#f5f5f5; box-shadow:inset 0 0 0 1px #e9e9e9; }
.mba-account-page .mba-illustration svg { width:66px; height:66px; color:#111111; filter:none; }
.mba-account-page .mba-orders { display:grid; gap:16px; }
.mba-account-page .mba-order-head { display:flex; align-items:center; flex-wrap:wrap; gap:12px; justify-content:space-between; font-weight:600; }
.mba-account-page .mba-status { border-radius:30px; padding:6px 10px; font-size:12px; background:#f3f3f3; color:#444444; }
.mba-account-page .mba-order time { display:block; font-size:13px; color:var(--mba-muted); margin-top:12px; }
.mba-account-page .mba-order-total { display:flex; align-items:center; justify-content:space-between; gap:16px; font-size:20px; font-weight:600; padding:20px 0; }
.mba-account-page .mba-order-total>span:last-child { font-size:13px; color:var(--mba-muted); font-weight:400; }
.mba-account-page .mba-order-actions { display:flex; flex-wrap:wrap; gap:8px; }
.mba-account-page .mba-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:24px 0; font-size:13px; }
.mba-account-page .mba-address,.mba-account-page .mba-payment { margin-bottom:18px; }
.mba-account-page .mba-address address { font-style:normal; line-height:1.8; margin-bottom:20px; }
.mba-account-page .mba-payment-row { display:flex; flex-wrap:wrap; gap:8px 20px; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--mba-line); }
.mba-account-page .mba-center { text-align:center; }
.mba-account-page .woocommerce-EditAccountForm,.mba-account-page .mba-content>form { padding:24px; background:white; border:1px solid var(--mba-line); border-radius:24px; }
.mba-account-page .woocommerce-EditAccountForm fieldset { margin-top:24px; padding:20px 0 0; border:0; border-top:1px solid var(--mba-line); }
.mba-account-page .woocommerce-error,.mba-account-page .woocommerce-message,.mba-account-page .woocommerce-info { border-radius:14px; overflow-wrap:anywhere; }
.mba-account-page a:focus-visible,.mba-account-page button:focus-visible,.mba-account-page summary:focus-visible { outline:3px solid var(--mba-accent); outline-offset:3px; }
.mba-checkout-page #billing_email_field { display:block!important; visibility:visible!important; opacity:1!important; height:auto!important; }
.mba-checkout-page #billing_email { display:block!important; }
.mba-checkout-note { padding:12px 0; font-size:13px; line-height:1.6; color:#666666; }
@media (min-width:900px) {
 .mba-account-page .mba-layout { grid-template-columns:340px minmax(0,1fr); align-items:start; }
 .mba-account-page .mba-auth { padding:38px; }
 .mba-account-page .mba-content { padding-top:8px!important; }
}
@media (max-width:899px) {
 .mba-account-page .wd-content-layout { padding-block:16px calc(var(--mba-toolbar-height, 66px) + 32px + env(safe-area-inset-bottom)); }
 .mba-account-page .mba-layout { max-width:620px; gap:16px; }
 .mba-account-page .mba-layout:has(.mba-back)>.mba-sidebar { display:none; }
 .mba-account-page .mba-welcome { padding:24px; }
 .mba-account-page .mba-welcome h1 { font-size:24px; }
 .mba-account-page .form-row-first,.mba-account-page .form-row-last { float:none!important; width:100%!important; }
 .mba-account-page .mba-order { padding:20px; }
 .mba-account-page .mba-content { overflow-wrap:normal; }
 .mba-account-page .woocommerce-order-details { overflow-x:auto; }
}
@media (prefers-reduced-motion:reduce) { .mba-account-page * { animation:none!important; transition:none!important; } }

/* Wishlist: native WoodMart widget on page 175. No catalogue-wide rules. */
.mba-wishlist-page .wd-content-area,
.mba-wishlist-page #post-175,
.mba-wishlist-page .elementor-175,
.mba-wishlist-page .elementor-element-75abb4b,
.mba-wishlist-page .elementor-element-75abb4b>.e-con-inner,
.mba-wishlist-page .elementor-widget-wd_wishlist { min-width:0; width:100%; max-width:100%; }
.mba-wishlist-page .elementor-element-75abb4b,
.mba-wishlist-page .elementor-element-75abb4b>.e-con-inner { padding:0; margin:0; }
.mba-wishlist-page .mba-wishlist-shell { max-width:1120px; margin-inline:auto; color:var(--mba-ink); }
.mba-wishlist-page .mba-wishlist-shell * { box-sizing:border-box; }
.mba-wishlist-page .mba-wishlist-heading { margin-bottom:24px; }
.mba-wishlist-page .mba-wishlist-heading h1 { margin:0; }
.mba-wishlist-page .mba-wishlist-heading .mba-back { margin-bottom:12px; }
.mba-wishlist-page .mba-wishlist-shell>.wd-wishlist-content { width:100%; min-width:0; }
.mba-wishlist-page .mba-wishlist-shell .wd-wishlist-head>.title { display:none; }
.mba-wishlist-page .mba-wishlist-shell .wd-wishlist-head:not(:has(a,button,input)) { display:none; }
.mba-wishlist-page .mba-wishlist-shell .wd-products {
 display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px;
 --wd-col-lg:4; --wd-col-md:3; --wd-col-sm:2;
 width:100%; min-width:0; margin:0; padding:0; align-items:stretch;
}
.mba-wishlist-page .mba-wishlist-shell .wd-product {
 position:relative; width:100%; min-width:0; max-width:100%; padding:0; margin:0;
 --wd-prod-bg-sp:0; --wd-prod-bg-cont-sp:12px; --wd-prod-gap:8px;
}
.mba-wishlist-page .mba-wishlist-shell .wd-product .product-wrapper {
 display:flex; flex-direction:column; flex:1; width:100%; min-width:0; height:100%;
 background:#fff; border:1px solid var(--mba-line); border-radius:18px;
 overflow:hidden; gap:0; transform:none!important; box-shadow:none;
}
.mba-wishlist-page .mba-wishlist-shell .product-element-top {
 width:100%; aspect-ratio:1; border-radius:0; background:#fff; clip-path:none!important;
}
.mba-wishlist-page .mba-wishlist-shell .product-image-link { display:block; width:100%; height:100%; }
.mba-wishlist-page .mba-wishlist-shell .product-image-link img {
 display:block; width:100%; height:100%; aspect-ratio:1; object-fit:contain;
}
.mba-wishlist-page .mba-wishlist-shell .product-element-bottom {
 display:flex; flex-direction:column; flex:1; gap:10px; min-width:0;
 padding:12px; margin:0!important; transform:none!important; background:#fff;
}
.mba-wishlist-page .mba-wishlist-shell .wd-product-header { display:block; min-width:0; margin:0; }
/* Existing site CSS clamps h3 and adds !important margins: reset only here. */
.mba-wishlist-page .mba-wishlist-shell .wd-entities-title {
 display:block!important; margin:0!important; height:auto!important;
 min-height:0!important; max-height:none!important; font-size:14px; line-height:1.45!important;
}
.mba-wishlist-page .mba-wishlist-shell .wd-entities-title a {
 display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3;
 overflow:hidden; min-height:4.35em; max-height:4.35em; white-space:normal;
 word-break:normal; overflow-wrap:break-word; color:#111; font-weight:500;
}
.mba-wishlist-page .mba-wishlist-shell .wrap-price { display:block; margin:0; min-height:24px; }
.mba-wishlist-page .mba-wishlist-shell .price { color:#111; font-size:14px; font-weight:600; white-space:normal; }
.mba-wishlist-page .mba-wishlist-shell .price ins { color:#111; background:none; }
.mba-wishlist-page .mba-wishlist-shell .price del { color:#808080; font-size:12px; }
.mba-wishlist-page .mba-wishlist-shell .wd-product-footer {
 display:block; position:static; opacity:1; visibility:visible; transform:none;
 margin-top:auto; padding:0; width:100%;
}
.mba-wishlist-page .mba-wishlist-shell .wd-add-btn { width:100%; overflow:visible; }
.mba-wishlist-page .mba-wishlist-shell .wd-add-btn>a {
 display:flex; justify-content:center; align-items:center; width:100%; min-height:44px;
 padding:10px 6px; border:1px solid #111; border-radius:10px;
 background:#111; color:#fff; box-shadow:none; font-size:13px; line-height:1.3;
 text-transform:none; white-space:normal;
}
.mba-wishlist-page .mba-wishlist-shell .wd-add-btn>a:hover { background:#333; color:#fff; }
.mba-wishlist-page .mba-wishlist-shell .wd-add-btn>a span {
 display:block; min-height:0; padding:0; line-height:1.3; font-size:inherit; white-space:normal;
 transform:none!important; transition:none; overflow:visible;
}
.mba-wishlist-page .mba-wishlist-shell .wd-add-btn>a:not(.loading)::before { display:none; }
.mba-wishlist-page .mba-wishlist-shell .wd-product-cats,
.mba-wishlist-page .mba-wishlist-shell .wd-action-buttons,
.mba-wishlist-page .mba-wishlist-shell .product-element-top>.wd-buttons { display:none; }
.mba-wishlist-page .mba-wishlist-shell .wd-wishlist-product-actions {
 /* Cancel the site's .product-grid-item > div !important stretch rule. */
 position:absolute; top:4px; inset-inline-end:4px; z-index:35;
 width:44px!important; height:44px!important; flex:none!important;
 margin:0; padding:0; display:block!important;
}
.mba-wishlist-page .mba-wishlist-shell .wd-wishlist-product-remove { width:44px; height:44px; }
.mba-wishlist-page .mba-wishlist-shell a.wd-wishlist-remove {
 display:grid; place-items:center; position:relative; width:44px; height:44px; min-height:44px;
 padding:0; border:0; background:transparent; font-size:0; line-height:1; color:#111;
 border-radius:50%; text-decoration:none; box-shadow:none;
}
.mba-wishlist-page .mba-wishlist-shell a.wd-wishlist-remove::before {
 content:'×'; display:grid; place-items:center; width:32px; height:32px; margin:0;
 border-radius:50%; background:#fff; border:1px solid #e6e6e6; color:#111;
 font:24px/1 Arial,sans-serif; box-shadow:0 2px 7px #00000012;
}
.mba-wishlist-page .mba-wishlist-shell a.wd-wishlist-remove.loading::before { opacity:.35; }
.mba-wishlist-page .mba-wishlist-shell .wd-wishlist-product-checkbox {
 position:absolute; top:42px; inset-inline-end:6px; width:24px; height:24px; z-index:2;
}
.mba-wishlist-page .mba-wishlist-shell .wd-empty-wishlist {
 margin:0; padding:36px 18px 0; color:#111; font-size:22px; font-weight:500; line-height:1.4;
}
.mba-wishlist-page .mba-wishlist-shell .wd-empty-wishlist::before {
 content:'♡'; display:grid; place-items:center; width:112px; height:112px; margin:0 auto 24px;
 border-radius:32px; border:1px solid #eee; background:#f5f5f5; color:#111;
 font:64px/1 Arial,sans-serif;
}
.mba-wishlist-page .mba-wishlist-shell .return-to-shop { margin:24px 0 48px; text-align:center; }
.mba-wishlist-page .mba-wishlist-shell .return-to-shop .button { background:#111; color:white; border:1px solid #111; }
@media (min-width:768px) and (max-width:1024px) {
 .mba-wishlist-page .mba-wishlist-shell .wd-products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:767px) {
 .mba-wishlist-page .mba-wishlist-shell .wd-products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .mba-wishlist-page .mba-wishlist-shell .wd-wishlist-bulk-action,
 .mba-wishlist-page .mba-wishlist-shell .wd-wishlist-product-checkbox { display:none!important; }
 .mba-wishlist-page .mba-wishlist-shell .product-element-bottom { padding:10px; gap:8px; }
 .mba-wishlist-page .mba-wishlist-shell .wd-entities-title,
 .mba-wishlist-page .mba-wishlist-shell .price { font-size:13px; }
 .mba-wishlist-page .mba-wishlist-shell .wd-add-btn>a { font-size:12px; }
}
@media (max-width:1024px) {
 .mba-account-page .wd-content-layout { padding-bottom:calc(var(--mba-toolbar-height,66px) + 32px + env(safe-area-inset-bottom)); }
}

/* 1.1.1 — own account grid must occupy the shortcode width, even in a flex parent.
   Explicit columns avoid min-content sizing and implicit endpoint columns. */
body.mba-account-page .woocommerce:has(> .mba-layout) {
 display:block; width:100%; min-width:0; max-width:100%;
}
body.mba-account-page .mba-layout {
 width:100%; min-width:0; flex:1 1 100%; box-sizing:border-box;
 grid-template-columns:minmax(0,1fr); align-items:start;
}
body.mba-account-page .mba-layout > .mba-sidebar,
body.mba-account-page .mba-layout > .mba-content {
 min-width:0; max-width:100%; width:100%; box-sizing:border-box; grid-column:auto;
}
body.mba-account-page .mba-layout > .mba-content.woocommerce-MyAccount-content {
 display:block; float:none; clear:none; flex:1 1 auto; margin:0; padding:0;
 border:0; overflow-wrap:normal; word-break:normal;
}
body.mba-account-page:has(.mba-layout) .woocommerce-MyAccount-title { display:none; }
body.mba-account-page .mba-profile p,
body.mba-account-page .mba-profile p a { color:var(--mba-ink); }
body.mba-account-page .mba-content form { min-width:0; max-width:100%; }
body.mba-account-page .mba-content input,
body.mba-account-page .mba-content select,
body.mba-account-page .mba-content textarea { max-width:100%; box-sizing:border-box; }
@media (min-width:900px) {
 body.mba-account-page .mba-layout { grid-template-columns:320px minmax(0,1fr); }
}
@media (max-width:899px) {
 body.mba-account-page .mba-layout:has(.mba-back) > .mba-sidebar { display:none; }
 body.mba-account-page .mba-layout > .mba-content { grid-column:1 / -1; }
 body.mba-account-page .mba-content > form,
 body.mba-account-page .woocommerce-EditAccountForm { padding:20px 16px; }
}
