/* ============================================================
 * SECTION: CMP3 / JPA WooCommerce My Account, Astra compatible
 * Scope exclusively to WooCommerce My Account. No cart or checkout.
 * ============================================================ */
body.woocommerce-account .woocommerce:not(.woocommerce-checkout) {
  --cmp-account-ink:#263c49;--cmp-account-blue:#31728d;--cmp-account-brown:#885342;
  --cmp-account-border:#dbe4e7;--cmp-account-muted:#62727c;
  color:var(--cmp-account-ink); font-size:16px; line-height:1.6;
}
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content { box-sizing:border-box; }
body.woocommerce-account .woocommerce-MyAccount-navigation {
  width:28%; float:left; margin:0 0 28px; background:#fff;
  border:1px solid var(--cmp-account-border,#dbe4e7);
  border-radius:16px; box-shadow:0 8px 28px rgba(34,60,72,.045); overflow:hidden;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {list-style:none;margin:0;padding:9px;}
body.woocommerce-account .woocommerce-MyAccount-navigation li {list-style:none;margin:0;padding:0;}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display:flex; align-items:center; gap:12px; padding:12px 15px;
  border-radius:9px; font-size:15px; line-height:1.35; font-weight:600;
  color:var(--cmp-account-ink,#263c49); text-decoration:none; border:0;
  transition:background .15s,color .15s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background:#eaf2f3;color:#20566e;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible {
  outline:3px solid #31728d; outline-offset:2px;
}
/* Override theme/plugin pseudo icons on this one endpoint only. */
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion-lists a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion-lists a::after,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion_lists a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion_lists a::after {
  content:none!important;display:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion-lists a,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion_lists a {position:relative;}
/* Neutral chat bubble SVG rather than a missing Dashicons/font glyph. */
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion-lists a::marker,
body.woocommerce-account .woocommerce-MyAccount-navigation-link--discussion_lists a::marker {content:'';}
body.woocommerce-account .woocommerce-MyAccount-content {
  width:68%; float:right; background:#fff; padding:clamp(22px,3.2vw,38px);
  border:1px solid var(--cmp-account-border,#dbe4e7);border-radius:16px;
  box-shadow:0 8px 28px rgba(34,60,72,.045);min-height:270px;
}
body.woocommerce-account .woocommerce-MyAccount-content p {line-height:1.7;}
body.woocommerce-account .woocommerce-MyAccount-content h1,
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {color:#31728d;line-height:1.25;}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {color:#276a83;text-underline-offset:3px;}
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button {
  background:#31728d;color:#fff;border:1px solid #31728d;
  border-radius:10px; padding:12px 18px; min-height:44px;
  font-weight:700; text-decoration:none; box-shadow:none;
}
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover {background:#245970;color:#fff;}
body.woocommerce-account .woocommerce-MyAccount-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea {
  max-width:100%;box-sizing:border-box;border-radius:9px;
  border:1px solid #bdcdd3;padding:11px 12px;min-height:44px;
}
body.woocommerce-account .woocommerce-MyAccount-content table {border:1px solid #dbe4e7;border-radius:10px;overflow:hidden;}
body.woocommerce-account .woocommerce-MyAccount-content table th {background:#eef4f5;color:#344d59;}
@media(max-width:900px){
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none;}
  body.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:18px;}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;}
  body.woocommerce-account .woocommerce-MyAccount-content{min-height:0;}
}
@media(max-width:520px){
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr;}
  body.woocommerce-account .woocommerce-MyAccount-content{padding:18px;}
}

/* SECTION: rc36 CEU archive and clear My Account navigation. */
body.woocommerce-account .woocommerce-MyAccount-navigation li a {min-height:46px;box-sizing:border-box;}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {box-shadow:inset 3px 0 0 #31728d;}
body.woocommerce-account .coolmo-mp-ceu-archive {padding:0!important;}
body.woocommerce-account .coolmo-mp-ceu-archive h2 {margin:0 0 8px;font-size:clamp(1.45rem,2.2vw,1.85rem);}
body.woocommerce-account .coolmo-mp-ceu-archive .coolmo-ceu-intro {color:#60747e;margin:0 0 18px;}
body.woocommerce-account .coolmo-mp-ceu-archive .coolmo-ceu-table-wrap {overflow-x:auto;border:1px solid #dce7ea;border-radius:13px;}
body.woocommerce-account .coolmo-mp-ceu-archive table {width:100%;margin:0;border:0;border-collapse:collapse;}
body.woocommerce-account .coolmo-mp-ceu-archive th {text-align:left;font-size:.83rem;letter-spacing:.02em;padding:14px 15px;background:#eff5f6;}
body.woocommerce-account .coolmo-mp-ceu-archive td {padding:14px 15px;border-top:1px solid #e5ecee;vertical-align:middle;}
body.woocommerce-account .coolmo-mp-ceu-archive tbody tr:hover {background:#f9fcfc;}
body.woocommerce-account .coolmo-mp-ceu-archive a.coolmo-ceu-download.button {display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;background:#31728d;color:#fff;border:1px solid #31728d;border-radius:9px;padding:10px 14px;min-height:42px;font-size:.9rem;font-weight:700;text-decoration:none;box-shadow:none;}
body.woocommerce-account .coolmo-mp-ceu-archive a.coolmo-ceu-download.button:hover {background:#245970;color:#fff;}
body.woocommerce-account .coolmo-mp-ceu-archive a.coolmo-ceu-download.button:focus-visible {outline:3px solid #31728d;outline-offset:3px;}
body.woocommerce-account .coolmo-mp-ceu-archive .coolmo-ceu-download svg {width:16px;height:16px;flex:none;}
@media(max-width:660px){body.woocommerce-account .coolmo-mp-ceu-archive td,body.woocommerce-account .coolmo-mp-ceu-archive th {padding:12px 10px;}body.woocommerce-account .coolmo-mp-ceu-archive a.coolmo-ceu-download.button {white-space:normal;text-align:center;}}

/* ============================================================
 * SECTION: rc41 - My Account visual consistency and whitespace.
 * No icons in the CEU Certificates navigation item; no changes to
 * checkout, account endpoints, data, or certificate permissions.
 * ============================================================ */
body.woocommerce-account .woocommerce-MyAccount-navigation {
  width:30%; background:#fff; border-color:#e3e6e8; border-radius:13px;
  box-shadow:0 2px 14px rgba(32,47,55,.035); margin-bottom:28px;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  padding:16px; margin:0; display:flex; flex-direction:column; gap:7px;
  background:transparent;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li,
body.woocommerce-account .woocommerce-MyAccount-navigation li::marker {
  list-style:none; margin:0; padding:0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display:block; min-height:0; padding:13px 16px; line-height:1.5;
  border-radius:8px; font-size:15px; font-weight:550;
  color:#344750; background:transparent; box-shadow:none;
  text-decoration:none; transition:background-color .15s ease,color .15s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background:#f3f5f5; color:#243a43;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background:#f1f4f4; color:#234c5c; font-weight:700;
  box-shadow:inset 3px 0 0 #527d8b;
}
/* Suppress an icon introduced by rc36 and any theme pseudo glyphs
   specifically on the CEU Certificates menu item. Other menu items
   keep their own established display behavior. */
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--ceu-certificates a::before,
body.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--ceu-certificates a::after {
  content:none!important; display:none!important;
  background:none!important; mask:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  width:66%; padding:clamp(26px,3.3vw,42px);
  background:#fff; border-color:#e3e6e8; border-radius:13px;
  box-shadow:0 2px 14px rgba(32,47,55,.035);
}
body.woocommerce-account .woocommerce-MyAccount-content > :first-child {margin-top:0;}
body.woocommerce-account .woocommerce-MyAccount-content p {margin-bottom:1.15em;}
body.woocommerce-account .coolmo-mp-ceu-archive h2 {margin:0 0 12px;}
body.woocommerce-account .coolmo-mp-ceu-archive .coolmo-ceu-intro {margin-bottom:26px;}
body.woocommerce-account .coolmo-mp-ceu-archive .coolmo-ceu-table-wrap {border-radius:10px;}
body.woocommerce-account .coolmo-mp-ceu-archive th {padding:16px 18px; background:#f5f7f7;}
body.woocommerce-account .coolmo-mp-ceu-archive td {padding:16px 18px;}
@media(max-width:900px){
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount-content {width:100%;float:none;}
  body.woocommerce-account .woocommerce-MyAccount-navigation {margin-bottom:24px;}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:14px;}
}
@media(max-width:520px){
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {grid-template-columns:1fr;}
  body.woocommerce-account .woocommerce-MyAccount-content {padding:20px;}
  body.woocommerce-account .coolmo-mp-ceu-archive th,
  body.woocommerce-account .coolmo-mp-ceu-archive td {padding:13px 10px;}
}
