/*
 * Cloudmaple B2C Portal — Kadence adapter (1.1.0).
 * Loaded on the account page only, and only when Kadence is the theme.
 */

/* The boxed content card (Content Style: Boxed) would put the portal in a card
   inside a card: make it transparent and let the portal use the full width. */
body.theme-kadence.woocommerce-account .content-bg.entry,
body.theme-kadence.woocommerce-account .content-bg .entry-content-wrap{background:transparent;box-shadow:none;border:0;padding:0}
body.theme-kadence.woocommerce-account .entry-content{margin:0}

/* Kadence's account menu layouts (nav left / right / above) float and size the
   two WooCommerce columns. Inside the portal the flex layout decides: the
   sidebar keeps its own width and the content takes the rest. */
body.theme-kadence .cmb2c-portal .cmb2c-sidebar.woocommerce-MyAccount-navigation{float:none;width:264px;max-width:none;margin:0;flex:0 0 264px}
body.theme-kadence .cmb2c-portal .cmb2c-content.woocommerce-MyAccount-content{float:none;width:auto;max-width:none;margin:0;flex:1 1 auto;min-width:0;padding:26px 30px 48px}
body.theme-kadence .cmb2c-portal .woocommerce-MyAccount-navigation ul{border:0;margin:0;padding:0}
body.theme-kadence .cmb2c-portal .woocommerce-MyAccount-navigation ul li{border:0;margin:0;padding:0}
body.theme-kadence .cmb2c-portal .woocommerce-MyAccount-navigation ul li a{border:0;padding:0;font-weight:inherit}
body.theme-kadence .cmb2c-portal .woocommerce-MyAccount-navigation ul li a::before,
body.theme-kadence .cmb2c-portal .woocommerce-MyAccount-navigation ul li a::after{content:none}

/* Headings use the theme's display face (Playfair on Dermonatura) only for the
   page title; card titles stay in the body face so the UI reads as one system. */
body.theme-kadence .cmb2c-portal h2,
body.theme-kadence .cmb2c-portal h3{font-family:inherit;letter-spacing:0}

/* Keep the portal's own phone layout: the sidebar becomes a drawer. */
@media (max-width:980px){
	body.theme-kadence .cmb2c-portal .cmb2c-sidebar.woocommerce-MyAccount-navigation{width:280px;flex:none}
	body.theme-kadence .cmb2c-portal .cmb2c-content.woocommerce-MyAccount-content{padding:18px 16px 40px}
}
