/* v0.6.57 – wide workspace + balanced branded header */
@media (min-width:1180px){
  /* Break the account page out of any theme content max-width without overlapping the sidebar. */
  body.cs-account-ui .site-content,
  body.cs-account-ui #content,
  body.cs-account-ui .content-area,
  body.cs-account-ui main.site-main,
  body.cs-account-ui article,
  body.cs-account-ui .entry-content{
    max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;overflow:visible!important;
  }
  body.cs-account-ui .entry-content > .woocommerce{
    box-sizing:border-box!important;
    width:min(1480px,calc(100vw - 80px))!important;max-width:1480px!important;
    margin:58px auto 76px!important;
    display:grid!important;grid-template-columns:255px minmax(0,1fr)!important;column-gap:38px!important;
    position:relative!important;left:auto!important;right:auto!important;transform:none!important;
  }
  body.cs-account-ui .entry-content > .woocommerce > .woocommerce-MyAccount-navigation{
    grid-column:1!important;width:255px!important;min-width:255px!important;max-width:255px!important;
    margin:0!important;padding:20px 14px!important;box-sizing:border-box!important;
  }
  body.cs-account-ui .entry-content > .woocommerce > .woocommerce-MyAccount-content{
    grid-column:2!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:8px 0 50px!important;
  }

  /* Header: readable brand on the left, compact navigation beside it, balances kept together. */
  body.cs-account-ui .cs29-head-inner{
    width:calc(100vw - 64px)!important;max-width:none!important;margin:0 32px!important;
    grid-template-columns:300px minmax(460px,1fr) auto!important;gap:16px!important;
  }
  body.cs-account-ui .cs29-brandmark{width:68px!important;height:68px!important}
  body.cs-account-ui .cs29-brand b{font-size:23px!important;letter-spacing:.2px!important}
  body.cs-account-ui .cs29-mainnav{justify-content:flex-start!important;gap:2px!important}
  body.cs-account-ui .cs29-mainnav a{min-width:92px!important;padding:0 14px!important}
  body.cs-account-ui .cs29-head-right{justify-self:end!important;gap:12px!important}
  body.cs-account-ui .cs29-balance{min-width:136px!important}
  body.cs-account-ui .cs29-motto{right:38px!important}

  /* Main content should visually fill the workspace. */
  body.cs-account-ui .woocommerce-MyAccount-content h2{font-size:34px!important;margin-bottom:10px!important}
  body.cs-account-ui .woocommerce-MyAccount-content > p:first-of-type{font-size:16px!important;margin-bottom:22px!important}
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-topgrid{
    width:100%!important;max-width:none!important;grid-template-columns:minmax(430px,.9fr) minmax(520px,1.1fr)!important;
    gap:24px!important;margin:18px 0 30px!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-topgrid > .cs32-membership-card,
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-benefits{min-height:230px!important;padding:26px 30px!important}

  body.cs-account-ui .woocommerce-MyAccount-content .woocommerce-orders-table-responsive{width:100%!important;max-width:none!important;overflow:visible!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table{
    width:100%!important;max-width:none!important;min-width:0!important;table-layout:fixed!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th{
    height:48px!important;padding:12px 16px!important;font-size:15px!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table td{
    height:52px!important;padding:11px 16px!important;font-size:15px!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table td:last-child .button{
    min-width:102px!important;min-height:36px!important;font-size:14px!important;padding:7px 14px!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-navigation li a{font-size:15px!important;min-height:52px!important}
}
@media (min-width:1180px) and (max-width:1399px){
  body.cs-account-ui .entry-content > .woocommerce{width:calc(100vw - 40px)!important;grid-template-columns:240px minmax(0,1fr)!important;column-gap:26px!important}
  body.cs-account-ui .entry-content > .woocommerce > .woocommerce-MyAccount-navigation{width:240px!important;min-width:240px!important;max-width:240px!important}
  body.cs-account-ui .cs29-head-inner{width:calc(100vw - 32px)!important;margin:0 16px!important;grid-template-columns:270px minmax(420px,1fr) auto!important}
  body.cs-account-ui .cs29-mainnav a{min-width:80px!important;padding:0 9px!important}
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-topgrid{grid-template-columns:1fr 1fr!important}
}
