/* Retired Body Core range: keep public range navigation focused on Body Heroes. */
.mx-range-grid a[href*="/product-category/meia-body-core/"],
.mx-range-pills a[href*="/product-category/meia-body-core/"] { display: none !important; }
/* Consistent, compact product details across the catalogue. */
body.single-product .summary-inner { padding: 18px 22px; }
body.single-product .summary-inner > * { margin-bottom: 10px; }
body.single-product .summary-inner .product_title { font-size: clamp(28px, 2.7vw, 36px); line-height: 1.15; margin-bottom: 12px; }
body.single-product .summary-inner .price { font-size: 24px; margin-bottom: 12px; }
body.single-product .summary-inner .woocommerce-product-details__short-description { line-height: 1.5; }
body.single-product .summary-inner .woocommerce-product-details__short-description p { margin-bottom: 10px; }
body.single-product .summary-inner .product_meta { padding-top: 10px; margin-top: 10px; }
body.single-product .summary-inner .mx-product-care { margin-top: 12px; margin-bottom: 0; padding: 12px; font-size: 13px; line-height: 1.5; gap: 12px; }
body.single-product .summary-inner .mx-product-care p { margin-bottom: 0; }
@media (max-width: 768px) {
 body.single-product .summary-inner { padding: 18px 16px; }
 body.single-product .summary-inner .product_title { font-size: 28px; }
}
/* CLARIFIED+: keep the desktop summary close to the gallery height. */
@media (min-width: 1025px) {
  body.postid-223 .summary-inner { padding: 18px 22px; }
  body.postid-223 .summary-inner > * { margin-bottom: 10px; }
  body.postid-223 .summary-inner .product_title { font-size: 42px; line-height: 1.15; }
  body.postid-223 .summary-inner .woocommerce-product-details__short-description { line-height: 1.5; }
  body.postid-223 .summary-inner .product_meta { padding-top: 10px; }
  body.postid-223 .summary-inner .mx-product-care { margin-top: 12px; margin-bottom: 0; padding: 12px; font-size: 13px; line-height: 1.5; }
  body.postid-223 .summary-inner .mx-product-care p { margin-bottom: 0; }
}

/* MEiA member portal: compact introduction and readable member card. */
body.page-id-191 .mx-hero.mx-compact { grid-template-columns: minmax(0, 1fr) 34%; min-height: 0; margin-bottom: 22px; }
body.page-id-191 .mx-hero-copy { padding: 22px 28px; }
body.page-id-191 .mx-hero .mx-kicker { margin-bottom: 8px; font-size: 12px; }
body.page-id-191 .mx-hero h1 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.15; margin-bottom: 10px; }
body.page-id-191 .mx-hero .mx-lead { font-size: 16px; line-height: 1.5; margin: 0; }
body.page-id-191 .mx-hero figure { min-height: 170px; }
body.page-id-191 .mx-hero figure img { object-position: center 40%; }
body.page-id-191 .mx-hero figcaption { display: none !important; }
body.page-id-191 .uap-user-page-top-wrapper.uap-ap-top-theme-2 { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding: 28px !important; background: #082e63 !important; }
body.page-id-191 .uap-user-page-top-background[data-banner=""] { display: none !important; }
body.page-id-191 .uap-user-page-top-wrapper:has(.uap-user-page-top-background:not([data-banner=""])) { padding-top: 280px !important; }
body.page-id-191 .uap-user-page-top-wrapper > .uap-left-side { flex: 0 0 80px; width: 80px; margin: 0; padding: 0; }
body.page-id-191 .uap-user-page-top-wrapper > .uap-middle-side { flex: 1 1 280px; width: auto; margin: 0; padding: 0; }
body.page-id-191 .uap-user-page-top-wrapper > .uap-right-side { flex: 0 1 auto; width: auto; margin: 0; padding: 0; display: flex; gap: 24px; }
body.page-id-191 .uap-user-page-top-wrapper > .uap-clear { display: none; }
body.page-id-191 .uap-user-page-avatar { width: 80px !important; height: 80px !important; position: relative; }
body.page-id-191 .uap-user-page-avatar img { width: 80px !important; height: 80px !important; object-fit: cover; border-radius: 50%; }
body.page-id-191 .uap-user-page-avatar:has(img[src*="/no-avatar.png"]) { border-radius: 50%; background: #eee9e1; display: grid; place-items: center; }
body.page-id-191 .uap-user-page-avatar img[src*="/no-avatar.png"] { display: none !important; }
body.page-id-191 .uap-user-page-avatar:has(img[src*="/no-avatar.png"])::after { content: "MEiA"; color: #082e63; font: 600 23px Georgia, serif; }
body.page-id-191 .uap-user-page-top-wrapper .uap-user-page-name { color: #fff !important; font-size: 26px !important; line-height: 1.25; margin-bottom: 8px; }
body.page-id-191 .uap-user-page-top-wrapper .uap-user-page-mess,
body.page-id-191 .uap-user-page-top-wrapper .uap-stats-label { color: #e1e9f2 !important; font-size: 15px !important; line-height: 1.5; }
body.page-id-191 .uap-user-page-top-wrapper .uap-stats-content { color: #fff !important; font-size: 25px !important; line-height: 1.3; }
body.page-id-191 .uap-user-page-top-wrapper .uap-top-rank { margin: 12px 0 0; }
body.page-id-191 .uap-user-page-top-wrapper .uap-top-rank-box { background: #eee9e1 !important; color: #082e63 !important; font-size: 13px; border-radius: 20px; padding: 6px 12px; }
@media (max-width: 600px) {
 body.page-id-191 .mx-hero.mx-compact { grid-template-columns: 1fr; }
 body.page-id-191 .mx-hero-copy { padding: 20px; }
 body.page-id-191 .mx-hero figure { min-height: 180px; }
 body.page-id-191 .uap-user-page-top-wrapper.uap-ap-top-theme-2 { padding: 22px !important; gap: 18px; }
 body.page-id-191 .uap-user-page-top-wrapper > .uap-middle-side { flex-basis: 200px; }
 body.page-id-191 .uap-user-page-top-wrapper > .uap-right-side { flex-basis: 100%; justify-content: flex-start; }
}

body.page-id-191 .uap-user-page-top-wrapper .uap-user-page-details { top: 0 !important; }
body.page-id-191 .uap-user-page-avatar:has(img[src*="/no-avatar.png"]) { background: #eee9e1 !important; border: 0 !important; box-shadow: none !important; overflow: hidden; }

body.page-id-191 .uap-user-page-top-wrapper .uap-user-page-details { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.page-id-191 .uap-user-page-avatar:has(img[src*="/no-avatar.png"]) { border-radius: 50% !important; }
@media (max-width: 600px) {
 body.page-id-191 .uap-user-page-top-wrapper > .uap-middle-side { flex: 1 1 100% !important; width: 100% !important; max-width: 100% !important; min-width: 0; }
 body.page-id-191 .uap-user-page-top-wrapper > .uap-right-side { flex-wrap: wrap; gap: 16px; max-width: 100%; }
 body.page-id-191 .uap-user-page-top-wrapper .uap-user-page-name { font-size: 22px !important; overflow-wrap: anywhere; }
}

/* MEiA shopping account: compact, accessible account layout. */
body.page-id-71 .mx-hero.mx-compact { min-height: 0; margin-bottom: 26px; border-radius: 20px; }
body.page-id-71 .mx-hero-copy { padding: 26px 32px; }
body.page-id-71 .mx-hero .mx-kicker { font-size: 12px; margin-bottom: 8px; }
body.page-id-71 .mx-hero h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin: 0 0 10px; }
body.page-id-71 .mx-hero .mx-lead { font-size: 16px; line-height: 1.5; margin: 0; }
body.page-id-71 .mx-hero .mx-sun { font-size: 90px; opacity: .13; }
body.page-id-71 .wd-my-account-sidebar { border: 0; }
body.page-id-71 .woocommerce-MyAccount-title { font-size: 13px; letter-spacing: .1em; padding: 0 4px 12px; margin-bottom: 12px; border-bottom: 1px solid #e4dfd7; }
body.page-id-71 .woocommerce-MyAccount-navigation { padding: 16px; background: #f1ede6; border: 1px solid #e4dfd7; border-radius: 18px; }
body.page-id-71 .woocommerce-account-gravatar { display: flex; align-items: center; gap: 12px; padding: 0 0 16px; margin: 0 0 12px; border-bottom: 1px solid #ded8cd; }
body.page-id-71 .woocommerce-account-gravatar__avatar-wrapper { width: 48px; height: 48px; min-width: 48px; margin: 0; border-radius: 50%; background: #082e63; position: relative; overflow: hidden; }
body.page-id-71 .woocommerce-account-gravatar__avatar { width: 48px; height: 48px; opacity: 0; }
body.page-id-71 .woocommerce-account-gravatar__avatar-wrapper::after { content: "MEiA"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 600 15px Georgia, serif; pointer-events: none; }
body.page-id-71 .woocommerce-account-gravatar__display-name { color: #082e63; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
body.page-id-71 .woocommerce-MyAccount-navigation > ul { display: grid; gap: 5px; margin: 0; }
body.page-id-71 .woocommerce-MyAccount-navigation > ul > li { margin: 0; border: 0; }
body.page-id-71 .woocommerce-MyAccount-navigation > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 10px 13px; border-radius: 10px; color: #082e63 !important; background: transparent; font-size: 14px; line-height: 1.35; font-weight: 600; }
body.page-id-71 .woocommerce-MyAccount-navigation > ul > li.is-active > a { background: #082e63 !important; color: #fff !important; }
body.page-id-71 .woocommerce-MyAccount-navigation > ul > li:not(.is-active) > a:hover { background: #e4ddd2 !important; color: #082e63 !important; }
body.page-id-71 .woocommerce-MyAccount-navigation a:focus-visible { outline: 2px solid #b24c2d; outline-offset: 2px; }
body.page-id-71 .woocommerce-MyAccount-content { background: #fff; padding: 28px; border: 1px solid #e4dfd7; border-radius: 18px; min-width: 0; box-shadow: 0 6px 24px rgba(8,46,99,.035); }
body.page-id-71 .woocommerce-MyAccount-content > p { font-size: 15px; line-height: 1.65; }
body.page-id-71 .mx-account-invite { padding: 22px; margin: 22px 0; border-radius: 14px; }
body.page-id-71 .mx-account-invite h2 { font-size: 28px; margin-bottom: 8px; }
body.page-id-71 .mx-account-invite p { font-size: 15px; }
body.page-id-71 .wd-my-account-links { gap: 12px; }
body.page-id-71 .wd-my-account-links a { border: 1px solid #e4dfd7; border-radius: 12px; background: #faf8f4; color: #082e63; padding: 18px 12px; box-shadow: none; }
body.page-id-71 .wd-my-account-links a:hover { background: #eee9e1; border-color: #c9bba8; }
body.page-id-71 .wd-my-account-links .wd-nav-icon { color: #082e63; font-size: 28px; }
body.page-id-71 .wd-my-account-links .nav-link-text { font-size: 14px; }
body.page-id-71 .woocommerce-MyAccount-content table { font-size: 14px; }
body.page-id-71 .woocommerce-MyAccount-content table th { color: #082e63; }
@media (max-width: 768px) {
 body.page-id-71 .mx-hero-copy { padding: 20px; }
 body.page-id-71 .mx-hero.mx-compact { margin-bottom: 20px; }
 body.page-id-71 .mx-hero h1 { font-size: 28px; }
 body.page-id-71 .mx-hero .mx-lead { font-size: 14px; }
 body.page-id-71 .woocommerce-MyAccount-navigation { padding: 14px; }
 body.page-id-71 .woocommerce-MyAccount-navigation > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
 body.page-id-71 .woocommerce-MyAccount-navigation > ul > li > a { font-size: 13px; padding: 10px; background: #fff; height: 100%; }
 body.page-id-71 .woocommerce-account-gravatar { padding-bottom: 12px; margin-bottom: 12px; }
 body.page-id-71 .woocommerce-MyAccount-content { padding: 20px 16px; }
 body.page-id-71 .mx-account-invite { padding: 18px; }
 body.page-id-71 .wd-my-account-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.page-id-71 .woocommerce-account-gravatar { flex-direction: row !important; text-align: left; }
body.page-id-71 .woocommerce-account-gravatar__display-name { margin: 0; }
body.page-id-71 .wd-my-account-links .wd-nav-icon::before { color: #082e63 !important; }


/* MEiA affiliate typography: one family and a shared, responsive type scale. */
body .mx-members,
body .mx-members .uap-user-page-wrapper { font-family: Poppins, Arial, sans-serif !important; font-size: 16px; line-height: 1.6; }
body .mx-members *:not(i):not([class*="fa-"]):not([class*="dashicons"]),
body .mx-members .uap-user-page-wrapper *:not(i):not([class*="fa-"]):not([class*="dashicons"]) { font-family: Poppins, Arial, sans-serif !important; }
body .mx-members :is(p,li,label,input,select,textarea,button,td,th),
body .mx-members .uap-user-page-wrapper :is(p,li,label,input,select,textarea,button,td,th) { font-size: 16px !important; line-height: 1.6 !important; }
body .mx-members p,
body .mx-members .uap-user-page-wrapper p { font-weight: 400 !important; }
body .mx-members h1 { font-size: clamp(28px,3vw,36px) !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.02em !important; }
body .mx-members :is(h2,h3),
body .mx-members .uap-user-page-wrapper :is(h2,h3,.uap-user-page-name) { font-size: clamp(20px,2vw,24px) !important; line-height: 1.35 !important; font-weight: 600 !important; letter-spacing: -.015em !important; }
body .mx-members h4,
body .mx-members .uap-user-page-wrapper :is(h4,.uap-account-summary-month-title,.uap-account-summary-graph-title) { font-size: 18px !important; line-height: 1.4 !important; font-weight: 600 !important; letter-spacing: 0 !important; }
body .mx-members .mx-member-nav a,
body .mx-members .uap-user-page-wrapper .uap-ap-menu a,
body .mx-members .uap-user-page-wrapper .uap-ap-menu .uap-ap-menu-tab-item > a { font-size: 14px !important; line-height: 1.5 !important; font-weight: 500 !important; letter-spacing: 0 !important; }
body .mx-members .uap-user-page-wrapper :is(.uap-user-page-mess,.uap-stats-label,.uap-subnote,.uap-warning-box,.uap-top-rank-box,.uap-account-summary-summary-data-title),
body .mx-members .uap-user-page-wrapper .meia-five-cards .uap-subnote,
body .mx-members .uap-user-page-wrapper .uap-account-summary-graph-title span { font-size: 14px !important; line-height: 1.6 !important; font-weight: 400 !important; letter-spacing: 0 !important; }
body .mx-members .uap-user-page-wrapper .uap-detail,
body .mx-members .uap-user-page-wrapper .meia-five-cards .uap-detail { font-size: 16px !important; line-height: 1.5 !important; font-weight: 500 !important; letter-spacing: 0 !important; }
body .mx-members .uap-user-page-wrapper :is(.uap-count,.uap-stats-content,.meia-own-savings-amount,.uap-account-summary-summary-data-content),
body .mx-members .uap-user-page-wrapper .meia-five-cards .uap-count { font-size: 28px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.02em !important; font-variant-numeric: tabular-nums; }
body .mx-members .uap-user-page-wrapper .meia-member-share a { font-size: 16px !important; line-height: 1.6 !important; font-weight: 500 !important; overflow-wrap: anywhere; }
body .mx-members .uap-user-page-wrapper .meia-member-share a[href*="wa.me"] { font-size: 14px !important; line-height: 1.5 !important; font-weight: 600 !important; }
body .mx-members .uap-user-page-wrapper .uap-account-summary-month-data-row > div { font-size: 14px !important; line-height: 1.6 !important; }

body.page-id-191 .uap-user-page-wrapper .uap-user-page-top-wrapper .uap-user-page-name { font-size: clamp(20px,2vw,24px) !important; line-height: 1.35 !important; }
body.page-id-191 .uap-user-page-wrapper .uap-user-page-top-wrapper :is(.uap-stats-label,.uap-user-page-mess) { font-size: 14px !important; line-height: 1.6 !important; }
body.page-id-191 .uap-user-page-wrapper .uap-user-page-top-wrapper .uap-stats-content { font-size: 28px !important; line-height: 1.25 !important; }

/* MEiA share panel: keep the explanation and personal referral link together. */
body .mx-members .uap-user-page-wrapper .meia-member-share { padding: 20px 24px !important; margin: 16px 0 24px !important; font-size: 16px; line-height: 1.6; }
body .mx-members .uap-user-page-wrapper .meia-member-share h2 { color: #1a2538 !important; margin: 0 0 8px !important; }
body .mx-members .uap-user-page-wrapper .meia-member-share > p { display: inline !important; margin: 0 !important; }
body .mx-members .uap-user-page-wrapper .meia-member-share > .meia-share-url { display: inline !important; margin: 0 0 0 .4em !important; overflow-wrap: anywhere; font-weight: 400 !important; }
body .mx-members .uap-user-page-wrapper .meia-member-share > .meia-whatsapp-share { display: block !important; width: fit-content; max-width: 100%; margin: 12px 0 0 !important; padding: 10px 20px !important; }
@media (max-width: 600px) { body .mx-members .uap-user-page-wrapper .meia-member-share { padding: 18px !important; } }


/* Prominent membership support notification. */
#meia-mayor-upline-banner { background: #a8442b !important; color: #fff !important; border-bottom: 3px solid #833521 !important; }
#meia-mayor-upline-banner a { color: #fff !important; }

/* Homepage membership benefits: illustration left, existing cards stacked right. */
@media (min-width: 900px) {
 body.home #meia-members > div:has(> #meia-commission-picture) { grid-template-columns: minmax(0, 640px) minmax(0, 1fr) !important; grid-template-rows: auto auto 1fr auto; gap: 20px !important; }
 body.home #meia-commission-picture { display: contents !important; }
 body.home #meia-commission-picture > figure:first-child { grid-column: 1; grid-row: 1 / 4; width: 100%; margin: 0 !important; align-self: start; }
 body.home #meia-members > div > article { grid-column: 2; align-self: start; }
 body.home #meia-members > div > article:nth-child(1) { grid-row: 1; }
 body.home #meia-members > div > article:nth-child(2) { grid-row: 2; }
 body.home #meia-members > div > article:nth-child(3) { grid-row: 3; }
 body.home #meia-commission-picture > figure:nth-child(2) { grid-column: 1 / -1; grid-row: 4; margin: 12px 0 0 !important; }
}

/* Combine the routine overview and detailed steps into three complete cards. */
body.home ol[aria-label="Three steps to your MEiA routine"] { display: none !important; }
body.home #choose-your-core { gap: 20px !important; margin-top: 0 !important; padding: 24px 0 0 !important; border: 0 !important; }
body.home #choose-your-core > div { padding: 28px 24px; border: 1px solid #ded9d1; border-radius: 18px; background: #eee9e1; min-width: 0; }
body.home #choose-your-core h3 { font-size: clamp(22px, 2vw, 28px); }
body.home #choose-your-core .mx-kicker { font-size: 11px; letter-spacing: .14em; }
body.home #choose-your-core .mx-button { max-width: 100%; }


/* Specials: show only the member price. */
article:has(a[href*="/product/r490-office-angels-special-pay-in-full/"]) > h3 + p > strong,
article:has(a[href*="/product/r490-office-angels-special-pay-in-full/"]) > h3 + p > br,
article:has(a[href*="/product/r960-office-angels-special-pay-in-full/"]) > h3 + p > strong,
article:has(a[href*="/product/r960-office-angels-special-pay-in-full/"]) > h3 + p > br {
  display: none !important;
}


/* R490 and R960 GNPL specials: show only the member price. */
body:is(.postid-365, .postid-366) .meia-special-prices > p:first-child {
  display: none !important;
}
