/* EKOTEKS v12.3 — compact cart refinement only.
   Visual polish: keeps WooCommerce logic, shipping and payments untouched. */

body.woocommerce-cart .ek-content-area{padding-top:8px;padding-bottom:26px}
body.woocommerce-cart .ek-article{margin-bottom:18px}
body.woocommerce-cart .entry-content>.woocommerce{grid-template-columns:minmax(0,1.48fr) minmax(300px,.92fr);column-gap:16px;row-gap:12px;align-items:start}
body.woocommerce-cart .entry-content>.woocommerce>form.woocommerce-cart-form{padding:18px 20px 18px;border-radius:20px}
body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{padding:18px 20px 20px;border-radius:20px;position:sticky;top:104px}
body.woocommerce-cart .ek-cart-panel-title,
body.woocommerce-cart .cart_totals>h2{font-size:clamp(22px,2vw,27px);margin:0 0 14px;letter-spacing:-.028em}

body.woocommerce-cart .woocommerce table.shop_table.cart tbody{display:flex;flex-direction:column;gap:10px}
body.woocommerce-cart .woocommerce table.shop_table.cart tr.cart_item{grid-template-columns:24px 78px minmax(0,1fr) 86px 86px;gap:10px 12px;align-items:center;padding:13px 14px;border:1px solid #e7ece3;border-radius:16px;background:#fffdf9;box-shadow:0 4px 14px rgba(31,61,40,.035);margin:0}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-name{font-size:14px;line-height:1.35}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-price{font-size:11px;color:#7a877d}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-subtotal{font-size:14px;font-weight:820;padding-top:0}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img{width:74px!important;height:74px!important;border-radius:12px;padding:6px}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-remove a.remove{width:20px;height:20px;font-size:19px!important}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-quantity .qty{width:58px!important;height:34px;min-height:34px;font-size:12px;padding:5px 0!important}
body.woocommerce-cart .woocommerce table.shop_table.cart td.product-name dl.variation{margin-top:5px;font-size:10px}

body.woocommerce-cart .woocommerce table.shop_table.cart tr:not(.cart_item) td.actions{padding:14px 0 0;margin-top:2px;gap:10px}
body.woocommerce-cart .woocommerce table.shop_table.cart .actions .coupon{flex:1 1 300px;gap:8px}
body.woocommerce-cart .woocommerce table.shop_table.cart .actions .coupon .input-text{max-width:210px;min-height:38px;padding:8px 11px;border-radius:11px;font-size:12px}
body.woocommerce-cart .woocommerce table.shop_table.cart .actions button.button,
body.woocommerce-cart .woocommerce .cart_totals a.checkout-button{min-height:40px;padding:11px 18px!important;font-size:12px}
body.woocommerce-cart .woocommerce table.shop_table.cart .actions button[name='update_cart']{font-size:12px;padding-inline:16px!important}

body.woocommerce-cart .woocommerce .cart_totals table.shop_table{border-top:1px solid #e7ece3}
body.woocommerce-cart .woocommerce .cart_totals table.shop_table tr{border-bottom:1px solid #edf1ea}
body.woocommerce-cart .woocommerce .cart_totals table.shop_table th{width:40%;font-size:12px;padding:11px 10px 11px 0}
body.woocommerce-cart .woocommerce .cart_totals table.shop_table td{font-size:13px;padding:11px 0 11px 6px}
body.woocommerce-cart .woocommerce .cart_totals table.shop_table .order-total th,
body.woocommerce-cart .woocommerce .cart_totals table.shop_table .order-total td{font-size:17px}
body.woocommerce-cart .woocommerce .cart_totals ul#shipping_method li{margin:0 0 7px}
body.woocommerce-cart .woocommerce .cart_totals ul#shipping_method label{font-size:12px}
body.woocommerce-cart .woocommerce .cart_totals select,
body.woocommerce-cart .woocommerce .cart_totals input[type='text']{padding:9px 12px;min-height:40px;border-radius:10px}
body.woocommerce-cart .ek-cart-return-shop{min-height:40px}

@media(max-width:1100px){
  body.woocommerce-cart .entry-content>.woocommerce{grid-template-columns:minmax(0,1.3fr) minmax(280px,.95fr)}
  body.woocommerce-cart .entry-content>.woocommerce>form.woocommerce-cart-form{padding:16px 17px}
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{padding:16px 17px 18px}
  body.woocommerce-cart .woocommerce table.shop_table.cart tr.cart_item{grid-template-columns:23px 68px minmax(0,1fr) 76px 74px;padding:12px 12px}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img{width:66px!important;height:66px!important}
}
@media(max-width:820px){
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{position:static}
}
@media(max-width:560px){
  body.woocommerce-cart .entry-content>.woocommerce>form.woocommerce-cart-form{padding:14px 14px 16px}
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals{padding:16px 14px 18px}
  body.woocommerce-cart .woocommerce table.shop_table.cart tbody{gap:8px}
  body.woocommerce-cart .woocommerce table.shop_table.cart tr.cart_item{grid-template-columns:22px 58px minmax(0,1fr) 64px;grid-template-rows:auto auto auto;gap:4px 8px;padding:11px 10px;border-radius:14px}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-remove{grid-column:1;grid-row:1/span 3}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail{grid-column:2;grid-row:1/span 3}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-name{grid-column:3/-1;grid-row:1;font-size:13px}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-price{grid-column:3;grid-row:2;text-align:left;font-size:11px}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-quantity{grid-column:4;grid-row:2;text-align:right}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-subtotal{grid-column:3/-1;grid-row:3;text-align:right;font-size:13px}
  body.woocommerce-cart .woocommerce table.shop_table.cart td.product-thumbnail img{width:56px!important;height:60px!important}
  body.woocommerce-cart .woocommerce table.shop_table.cart .actions .coupon .input-text{max-width:none;flex:1 1 100%}
  body.woocommerce-cart .woocommerce table.shop_table.cart .actions button[name='update_cart']{margin-left:0}
}
