/* EcoSolaris — pagina coșului ca la eMAG (mu-plugin 124). v1.0 — 16.10.2026 */
.eco-cos-emag{background:#f5f6f8}
.eco-cos-emag .page-title{display:none}                                  /* fără banda „COȘUL MEU → CHECKOUT → ORDER COMPLETE” */
.eco-cos-emag .main-page-wrapper{background:#f5f6f8;padding-top:20px}
.ecosp-h1{font-size:26px;font-weight:600;color:#1f2937;margin:0 0 14px;text-transform:none;letter-spacing:0}
/* tabelul → carduri */
.eco-cos-emag table.shop_table.cart{border:0;background:none;border-collapse:separate}
.eco-cos-emag table.shop_table.cart thead{display:none}
.eco-cos-emag table.shop_table.cart,.eco-cos-emag table.shop_table.cart tbody{display:block}
.eco-cos-emag tr.cart_item{display:grid!important;grid-template-columns:120px minmax(0,1fr) 190px;grid-template-areas:"th nm pr" "th sk qt" "th sk rm";column-gap:18px;row-gap:6px;
  background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px 18px;margin-bottom:12px;align-items:start}
.eco-cos-emag tr.cart_item td{display:block!important;border:0!important;padding:0!important;background:none!important;text-align:left}
.eco-cos-emag tr.cart_item td::before{display:none!important}
.eco-cos-emag td.product-thumbnail{grid-area:th}
.eco-cos-emag td.product-thumbnail img{width:110px!important;height:110px;object-fit:contain;max-width:none}
.eco-cos-emag td.product-name{grid-area:nm;font-size:15px;font-weight:600;line-height:1.35}
.eco-cos-emag td.product-name a{color:#1f2937!important}
.eco-cos-emag td.product-sku{grid-area:sk;font-size:12.5px;color:#6b7280}
.eco-cos-emag td.product-sku::after{content:""}
.eco-cos-emag td.product-price{display:none!important}
.eco-cos-emag td.product-subtotal{grid-area:pr;text-align:right!important;font-size:20px;font-weight:700;color:#1f2937}
.eco-cos-emag td.product-subtotal .amount{color:#1f2937}
.eco-cos-emag td.product-quantity{grid-area:qt;justify-self:end}
.eco-cos-emag td.product-remove{grid-area:rm;justify-self:end}
.ecosp-rm{width:auto!important;height:auto!important;font-size:13px!important;color:#1f2937!important;background:none!important;border-bottom:1px dashed #1f2937;border-radius:0!important;text-indent:0!important;line-height:1.2!important}
.ecosp-rm:hover{color:#dc2626!important;border-color:#dc2626}
.ecosp-av{font-size:12.5px;font-weight:400;color:#4b5563;margin-top:6px}.ecosp-av b{font-weight:600}.ecosp-ok{color:#16a34a}.ecosp-sep{margin:0 4px}
.eco-cos-emag tr td.actions{display:block;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:10px;padding:12px 16px!important}
/* sumarul din dreapta */
.eco-cos-emag .cart-collaterals .cart_totals{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px 18px;position:sticky;top:110px}
.eco-cos-emag .cart_totals > h2{font-size:19px;font-weight:700;text-transform:none;letter-spacing:0;margin:0 0 10px;color:#1f2937}
.eco-cos-emag .cart_totals table{border:0}.eco-cos-emag .cart_totals th,.eco-cos-emag .cart_totals td{border:0!important;padding:5px 0!important;font-size:13.5px;font-weight:400;color:#374151}
.eco-cos-emag .cart_totals tr.order-total th,.eco-cos-emag .cart_totals tr.order-total td{font-size:19px!important;font-weight:700!important;color:#1f2937;padding-top:10px!important;border-top:1px solid #eef0f3!important}
.eco-cos-emag .wc-proceed-to-checkout a.checkout-button{position:relative;display:flex!important;align-items:center;justify-content:center;background:#1a73e8!important;color:#fff!important;border-radius:6px!important;height:46px;font-size:16px!important;font-weight:600!important;text-transform:none!important;overflow:hidden;box-shadow:none!important}
.eco-cos-emag .wc-proceed-to-checkout a.checkout-button:hover{background:#1557b0!important}
.ecosp-chev{position:absolute;left:0;top:0;bottom:0;width:46px;display:flex;align-items:center;justify-content:center;background:#e0531a;font-size:22px;clip-path:polygon(0 0,80% 0,100% 50%,80% 100%,0 100%)}
@media (max-width:768px){
  .eco-cos-emag tr.cart_item{grid-template-columns:80px minmax(0,1fr);grid-template-areas:"th nm" "th sk" "pr pr" "qt rm";padding:12px}
  .eco-cos-emag td.product-thumbnail img{width:76px!important;height:76px}
  .eco-cos-emag td.product-subtotal{text-align:left!important;font-size:18px}
  .eco-cos-emag td.product-quantity{justify-self:start}
  .eco-cos-emag .cart-collaterals .cart_totals{position:static}
}
/* v1.1 — corecturi */
.eco-cos-emag tr.cart_item td.product-price{display:none!important}
.eco-cos-emag td.product-subtotal .tax_label{display:block;font-size:11.5px;font-weight:400;color:#6b7280}
.eco-cos-emag .cart_totals .cart-totals-inner{border:0!important;padding:0!important;box-shadow:none!important;background:none!important}
.eco-cos-emag .cart_totals h2{font-size:19px!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important;margin:0 0 10px!important;color:#1f2937}
.eco-cos-emag .cart_totals tr.order-total td{text-align:right}
/* v1.3 — inimioara în dreapta-sus (ca la eMAG) */
.eco-cos-emag tr.cart_item{position:relative;padding-right:64px!important}
.eco-cos-emag .ecosp-fav{position:absolute;top:12px;right:14px;z-index:2}
.eco-cos-emag .ecosp-fav .wd-wishlist-btn a{width:34px;height:34px;border:1px solid #d1d5db;border-radius:50%;display:flex!important;align-items:center;justify-content:center;background:#fff;color:#1f2937!important}
.eco-cos-emag .ecosp-fav .wd-wishlist-btn a span{display:none}
.eco-cos-emag .ecosp-fav .wd-wishlist-btn a.added{color:#e0531a!important;border-color:#fdba74}
.eco-cos-emag td.product-subtotal{padding-right:40px!important}
/* v1.4 — ca la eMAG: în dreapta, pe aceeași verticală: inimioara sus → prețul → cantitatea „− 1 +” → Șterge */
.eco-cos-emag tr.cart_item{padding-right:18px!important}
.eco-cos-emag .ecosp-fav{top:14px!important;right:18px!important}
.eco-cos-emag tr.cart_item td.product-subtotal{padding:46px 0 0!important;justify-self:end;text-align:right!important}
.eco-cos-emag tr.cart_item td.product-subtotal .ecor-qty{justify-content:flex-end;margin-top:10px}
.eco-cos-emag tr.cart_item td.product-remove{justify-self:end;padding-right:0!important}
@media (max-width:768px){
  .eco-cos-emag tr.cart_item td.product-subtotal{padding-top:6px!important;justify-self:start;text-align:left!important}
  .eco-cos-emag tr.cart_item td.product-subtotal .ecor-qty{justify-content:flex-start}
}
