/* ATIIE native account and campaign polish. Consistent teal/gold palette, no theme-global resets. */
  body.mk-shell {
    --atiie-live-teal:#087f85;
    --atiie-live-dark:#0a4750;
    --atiie-live-gold:#ffc344;
    --atiie-live-tint:#eff9f7;
    --atiie-live-border:#d8e9e7;
  }
  /* Native WooCommerce: whitespace around the entire page, subheading, forms and menu. */
  body.mk-shell.woocommerce-account .mk-account-page,
  body.mk-shell.woocommerce-account .mk-account-layout,
  body.mk-shell.woocommerce-account .woocommerce-MyAccount-content {
    box-sizing:border-box!important;
    min-width:0!important;
  }
  body.mk-shell.woocommerce-account .mk-account-page {
    padding-block:clamp(16px,2.2vw,34px)!important;
    padding-inline:clamp(12px,2vw,32px)!important;
  }
  body.mk-shell.woocommerce-account .mk-account-inner-heading {
    padding:clamp(17px,2.4vw,28px)!important;
    margin:0 0 clamp(14px,1.9vw,24px)!important;
    min-height:84px!important;
    border:1px solid var(--atiie-live-border)!important;
    border-radius:17px!important;
    background:linear-gradient(110deg,#f0faf8,#fffdf5)!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar {
    position:static!important;
    top:auto!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:clamp(10px,1.3vw,16px)!important;
    background:#fff!important;
    border:1px solid var(--atiie-live-border)!important;
    border-radius:18px!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar .mk-account-identity {
    padding:15px!important;
    border-radius:12px!important;
    margin-bottom:9px!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation {
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:9px!important;
    background:transparent!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation ul {
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation a {
    min-height:43px!important;
    padding:10px 12px!important;
    border-radius:10px!important;
    line-height:1.55!important;
    color:var(--atiie-live-dark)!important;
  }
  body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation .is-active>a,
  body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation a:hover {
    background:var(--atiie-live-tint)!important;
    color:var(--atiie-live-teal)!important;
  }
  body.mk-shell.woocommerce-account .mk-account-content {
    min-height:360px!important;
    height:auto!important;
    overflow:visible!important;
    padding:clamp(17px,2.4vw,34px)!important;
    border:1px solid var(--atiie-live-border)!important;
    border-radius:18px!important;
    background:#fff!important;
  }
  body.mk-shell.woocommerce-account .mk-account-content :is(.woocommerce,form,fieldset,table) {
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.mk-shell.woocommerce-account :is(.woocommerce-MyAccount-content,.mk-account-content) > :is(p,h1,h2,h3,form,section) {
    margin-block-end:clamp(12px,1.5vw,22px)!important;
  }
  body.mk-shell .avp-native-feature,
  body.mk-shell .avp-mac.avp-native-feature {
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  body.mk-shell .avp-native-feature .avp-mac-content {
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  /* No nested scrollbars on desktop. Only responsive mobile drawers scroll. */
  @media(min-width:961px) {
    body.mk-shell .avp-mac .avp-mac-sidebar,
    body.mk-shell .avp-mac .avp-mac-nav,
    body.mk-shell .avp-mac .avp-mac-content {
      height:auto!important;
      max-height:none!important;
      overflow-y:visible!important;
      scrollbar-width:none!important;
    }
    body.mk-shell .avp-mac .avp-mac-body {align-items:start!important}
  }
  @media(max-width:960px){
    body.mk-shell.woocommerce-account .mk-account-layout {grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
    body.mk-shell.woocommerce-account .mk-account-sidebar {position:static!important;max-height:none!important}
  }
  @media(max-width:600px){
    body.mk-shell.woocommerce-account .mk-account-page {padding:12px!important}
    body.mk-shell.woocommerce-account .mk-account-inner-heading {min-height:70px!important;padding:15px!important}
    body.mk-shell.woocommerce-account .mk-account-sidebar {padding:8px!important}
    body.mk-shell.woocommerce-account .mk-account-content {padding:16px!important}
  }
  @media(prefers-reduced-motion:reduce){
    body.mk-shell .avp-native-feature * {
      animation-duration:.01ms!important;transition-duration:.01ms!important;
    }
  }


/* 2026-11 native account: selectors match template-parts/account.php exactly.
 * Layout owns the outer whitespace; content/sidebar own separate inner whitespace. */
body.mk-shell.woocommerce-account .mk-account-layout {
  box-sizing:border-box!important;
  width:min(100%,1480px)!important;
  max-width:calc(100% - clamp(32px,4vw,72px))!important;
  margin:clamp(20px,2.7vw,38px) auto clamp(26px,3vw,46px)!important;
  padding:clamp(20px,2.3vw,34px)!important;
  gap:clamp(18px,2vw,28px)!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid var(--atiie-account-line,#dbeae8)!important;
  box-shadow:0 10px 36px rgba(6,72,78,.045)!important;
}
body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-inner-heading{
  margin:0!important;
  padding:clamp(20px,2vw,30px) clamp(23px,2.5vw,38px)!important;
  min-height:100px!important;
  border-radius:18px!important;
  align-items:center!important;
}
body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-content{
  padding:clamp(20px,2.1vw,30px)!important;
  margin:0!important;
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  border:1px solid #dceae8!important;
  border-radius:18px!important;
  background:#fff!important;
}
body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-sidebar{
  margin:0!important;
  padding:clamp(13px,1.5vw,22px)!important;
  box-sizing:border-box!important;
  align-self:start!important;
  position:static!important;
  overflow:visible!important;
  max-height:none!important;
  height:auto!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .mk-account-identity{
  padding:clamp(14px,1.4vw,19px)!important;
  margin:0 0 14px!important;
  border:1px solid #dbeae8!important;
  border-radius:14px!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation{
  padding:8px 5px 12px!important;
  margin:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation ul{
  padding:0!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li{
  margin:4px 0!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li a{
  padding:12px 14px!important;
  min-height:44px!important;
  color:#164c53!important;
}
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li.is-active>a,
body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li a:hover{
  background:#e7f6f3!important;
  border-color:#b9deda!important;
  color:#075e65!important;
}
body.mk-shell.woocommerce-account .mk-account-content>.woocommerce,
body.mk-shell.woocommerce-account .mk-account-content>.avp-mac,
body.mk-shell.woocommerce-account .mk-account-content>.avp-native-feature {width:100%!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
body.mk-shell.woocommerce-account .mk-account-content .avp-native-feature,
body.mk-shell.woocommerce-account .mk-account-content .avp-mac.avp-native-feature {padding:0!important;margin:0!important;border:0!important;box-shadow:none!important}
body.mk-shell.woocommerce-account .mk-account-content .avp-native-feature>.avp-mac-content {padding:clamp(12px,1.5vw,22px)!important;margin:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
@media (max-width:980px){
 body.mk-shell.woocommerce-account .mk-account-layout{max-width:calc(100% - 28px)!important;padding:15px!important;grid-template-columns:minmax(0,1fr)!important;gap:17px!important}
 body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-sidebar{order:2!important}
 body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-content{order:3!important;padding:20px!important}
}
@media(max-width:600px){
 body.mk-shell.woocommerce-account .mk-account-layout{max-width:calc(100% - 20px)!important;padding:10px!important;margin:12px auto 22px!important;gap:12px!important}
 body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-inner-heading{min-height:72px!important;padding:16px!important}
 body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-content{padding:15px!important}
 body.mk-shell.woocommerce-account .mk-account-layout>.mk-account-sidebar{padding:12px!important}
 body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation ul{display:flex!important;flex-wrap:wrap!important;gap:6px!important;white-space:normal!important;overflow:visible!important}
 body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li{flex:1 1 132px!important;min-width:0!important;margin:0!important}
 body.mk-shell.woocommerce-account .mk-account-sidebar .woocommerce-MyAccount-navigation li a{font-size:12px!important;padding:10px!important}
}

/* ATIIE native AuthVault endpoints inherit the same brand tokens as the store. */
body.mk-shell.woocommerce-account :is(.avp-mac,.avp-native-feature),body.mk-shell.woocommerce-account .avp-mac[data-avp-palette]{
 --avp-theme-a:var(--atiie-live-teal,#087f85)!important;--avp-theme-b:#0e969b!important;
 --avp-theme-c:var(--atiie-live-dark,#0a4750)!important;--avp-exp-a:var(--atiie-live-teal,#087f85)!important;
 --avp-exp-b:#0e969b!important;--avp-primary:var(--atiie-live-teal,#087f85)!important;
 --avp-secondary:#0e969b!important;--avp-theme-soft:var(--atiie-live-tint,#eff9f7)!important;
}
