/**
 * HangNgoaiShop 3.9.55.65
 * Cart Desktop Table Final Lock (carries the planned 3.9.55.64.2 hotfix)
 *
 * Desktop-only table geometry fix. Mobile Cart from 3.9.55.64.1 is intentionally untouched.
 */

@media (min-width:850px){
  body.woocommerce-cart .woocommerce-cart-form .cart-wrapper{
    overflow:hidden!important;
  }

  body.woocommerce-cart table.shop_table.cart{
    width:100%!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }

  /* Flatsome's PRODUCT header spans remove + thumbnail + name. Keep that
     aggregate column flexible and reserve deterministic space for commerce data. */
  body.woocommerce-cart table.shop_table.cart th.product-name{
    width:auto!important;
    min-width:0!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-remove{
    display:table-cell!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail{
    display:table-cell!important;
    width:92px!important;
    min-width:92px!important;
    max-width:92px!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-name{
    display:table-cell!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    padding-right:12px!important;
    overflow-wrap:anywhere!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-price,
  body.woocommerce-cart table.shop_table.cart td.product-price{
    display:table-cell!important;
    width:98px!important;
    min-width:98px!important;
    max-width:98px!important;
    white-space:nowrap!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-quantity,
  body.woocommerce-cart table.shop_table.cart td.product-quantity{
    display:table-cell!important;
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    white-space:nowrap!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-subtotal,
  body.woocommerce-cart table.shop_table.cart td.product-subtotal{
    display:table-cell!important;
    width:132px!important;
    min-width:132px!important;
    max-width:132px!important;
    padding-left:8px!important;
    padding-right:14px!important;
    visibility:visible!important;
    opacity:1!important;
    text-align:right!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-subtotal .amount{
    display:inline!important;
    visibility:visible!important;
    opacity:1!important;
    white-space:nowrap!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{
    width:76px!important;
    height:76px!important;
  }
}

@media (min-width:850px) and (max-width:1099px){
  body.woocommerce-cart table.shop_table.cart td.product-thumbnail{
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img{
    width:66px!important;
    height:66px!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-price,
  body.woocommerce-cart table.shop_table.cart td.product-price{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-quantity,
  body.woocommerce-cart table.shop_table.cart td.product-quantity{
    width:100px!important;
    min-width:100px!important;
    max-width:100px!important;
  }

  body.woocommerce-cart table.shop_table.cart th.product-subtotal,
  body.woocommerce-cart table.shop_table.cart td.product-subtotal{
    width:118px!important;
    min-width:118px!important;
    max-width:118px!important;
  }
}
