/* v0.6.53 – unified desktop geometry: header, sidebar, content and orders table */
@media (min-width:1180px){
  /* Header: use the viewport instead of a narrow centered island. */
  body.cs-account-ui .cs29-head-inner{
    width:calc(100% - 64px)!important;max-width:none!important;margin:0 32px!important;
    grid-template-columns:300px minmax(500px,1fr) auto!important;gap:8px!important;
  }
  body.cs-account-ui .cs29-brand{justify-self:start!important}
  body.cs-account-ui .cs29-mainnav{justify-content:flex-start!important}
  body.cs-account-ui .cs29-mainnav a{min-width:92px!important;padding-left:13px!important;padding-right:13px!important}
  body.cs-account-ui .cs29-head-right{justify-self:end!important}
  body.cs-account-ui .cs29-motto{right:32px!important}

  /* One stable two-column account shell. No transforms/negative offsets. */
  body.cs-account-ui .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.cs-account-ui .entry-content>.woocommerce,
  body.cs-account-ui .woocommerce{
    position:relative!important;left:auto!important;right:auto!important;transform:none!important;zoom:1!important;
    width:calc(100% - 80px)!important;max-width:1540px!important;margin:48px auto 72px!important;padding:0!important;
    display:grid!important;grid-template-columns:270px minmax(0,1fr)!important;column-gap:32px!important;align-items:start!important;
    box-sizing:border-box!important;overflow:visible!important;
  }
  body.cs-account-ui .woocommerce>.woocommerce-MyAccount-navigation{
    grid-column:1!important;width:270px!important;min-width:270px!important;max-width:270px!important;
    margin:0!important;padding:24px 16px!important;box-sizing:border-box!important;
  }
  .cs29-side-title{padding:0 10px 20px!important;gap:12px!important}
  .cs29-side-title>span{font-size:34px!important}.cs29-side-title strong{font-size:21px!important}.cs29-side-title small{font-size:12px!important}
  body.cs-account-ui .woocommerce-MyAccount-navigation li a{min-height:48px!important;padding:11px 10px 11px 50px!important;font-size:14px!important;line-height:1.25!important}
  body.cs-account-ui .woocommerce-MyAccount-navigation li a:before{left:15px!important;font-size:20px!important;width:25px!important}
  .cs29-promo{height:190px!important;margin-top:24px!important;padding:18px!important;font-size:16px!important}

  body.cs-account-ui .woocommerce>.woocommerce-MyAccount-content{
    grid-column:2!important;width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:8px 0 48px!important;box-sizing:border-box!important;overflow:visible!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content h2{font-size:29px!important;line-height:1.15!important;margin:0 0 8px!important}
  body.cs-account-ui .woocommerce-MyAccount-content>p:first-of-type{font-size:15px!important;line-height:1.45!important;margin:0 0 18px!important}

  body.cs-account-ui .woocommerce-MyAccount-content .cs32-topgrid{
    width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:18px!important;margin:14px 0 24px!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-topgrid>.cs32-membership-card,
  body.cs-account-ui .woocommerce-MyAccount-content .cs32-benefits{min-height:220px!important;padding:23px 25px!important;box-sizing:border-box!important}

  /* Orders: readable, deliberate proportions, no squeezed first column. */
  body.cs-account-ui .woocommerce-orders-table-responsive{width:100%!important;max-width:100%!important;overflow-x:visible!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table{
    width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;margin-top:10px!important;
    border:1px solid #cfd9e7!important;border-radius:8px!important;background:#fff!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th,
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table td{
    height:48px!important;padding:10px 13px!important;font-size:14px!important;line-height:1.2!important;vertical-align:middle!important;
    border-bottom:1px solid #d8e1ed!important;box-sizing:border-box!important;
  }
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th{height:44px!important;font-size:14px!important;font-weight:700!important;background:#f5f8fc!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(1){width:13%!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(2){width:16%!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(3){width:25%!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(4){width:15%!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(5){width:15%!important}
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table th:nth-child(6){width:16%!important}
  .cs-account-status{display:inline-block!important;max-width:100%!important;font-size:10px!important;line-height:1.15!important;padding:5px 8px!important;white-space:normal!important;text-align:center!important}
  body.cs-account-ui .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button,
  body.cs-account-ui .woocommerce-MyAccount-content table.woocommerce-orders-table td:last-child a{
    width:auto!important;min-width:94px!important;min-height:32px!important;padding:6px 12px!important;font-size:13px!important;text-align:center!important;
  }
}
@media (min-width:1180px) and (max-width:1380px){
 body.cs-account-ui .cs29-head-inner{width:calc(100% - 36px)!important;margin:0 18px!important;grid-template-columns:270px minmax(460px,1fr) auto!important}
 body.cs-account-ui .entry-content>.woocommerce,body.cs-account-ui .woocommerce{width:calc(100% - 40px)!important;grid-template-columns:250px minmax(0,1fr)!important;column-gap:24px!important}
 body.cs-account-ui .woocommerce>.woocommerce-MyAccount-navigation{width:250px!important;min-width:250px!important;max-width:250px!important}
}
