/* Compatibility layer for Blocksy and the legacy custom CSS that hid My Account navigation. */
.cg974-account-page .cg974-account-main > .woocommerce > .ct-acount-nav {
  display: block !important;
  width: auto !important;
  min-width: 0;
  align-self: start;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* The CG974 hero already welcomes the customer; keep Blocksy's duplicate greeting out of view. */
.cg974-account-page .ct-acount-nav > .ct-account-welcome {
  display: none !important;
}

/* Keep the useful WooCommerce content in the wide column even if a theme wrapper changes. */
.cg974-account-page .cg974-account-main > .woocommerce > .woocommerce-MyAccount-content {
  grid-column: 2 / -1;
  min-width: 0;
}

@media (max-width: 900px) {
  .cg974-account-page .cg974-account-main > .woocommerce > .ct-acount-nav {
    width: 100% !important;
  }

  .cg974-account-page .cg974-account-main > .woocommerce > .woocommerce-MyAccount-content {
    grid-column: auto;
    width: auto !important;
  }
}
