/* ==== LAYOUT ==== */
body.woocommerce-cart .mp-cart{max-width:1200px;margin:0 auto;padding:8px 16px 56px;}
body.woocommerce-cart .mp-cart__grid{
  display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:36px;
}
@media (max-width:1024px){ body.woocommerce-cart .mp-cart__grid{grid-template-columns:1fr;} }

body.woocommerce-cart .mp-cart__title{font-size:40px;line-height:1.15;margin:10px 0 16px;font-weight:800;}

/* ==== TABLE (левая) ==== */
body.woocommerce-cart .mp-cart table.shop_table{
  width:100%; border:1px solid #e8e8e8; border-radius:12px; overflow:hidden;
  background:#fff; box-shadow:0 8px 24px rgba(0,0,0,.05);
  table-layout:fixed;
}
body.woocommerce-cart .mp-cart table.shop_table thead th{
  background:#fafafa; color:#666; font-size:13px; font-weight:600;
  border-bottom:1px solid #e8e8e8; padding:10px 12px;
}
/* ширины колонок */
body.woocommerce-cart .mp-cart table.shop_table th.product-price{width:110px;text-align:right}
body.woocommerce-cart .mp-cart table.shop_table th.product-quantity{width:140px;text-align:center}
body.woocommerce-cart .mp-cart table.shop_table th.product-subtotal{width:120px;text-align:right}
body.woocommerce-cart .mp-cart table.shop_table th.product-remove{width:52px}

body.woocommerce-cart .mp-cart table.shop_table td{
  padding:16px 12px; vertical-align:middle; border-top:1px solid #eee; background:#fff;
}
body.woocommerce-cart .mp-cart .product-price,
body.woocommerce-cart .mp-cart .product-subtotal{ text-align:right; font-weight:600; }

/* карточка товара в ячейке */
body.woocommerce-cart .mp-cart__product{display:grid;grid-template-columns:84px 1fr;gap:12px;align-items:center;}
body.woocommerce-cart .mp-cart__thumb img{width:84px;height:84px;object-fit:cover;border-radius:8px;}
body.woocommerce-cart .mp-cart .product-name a{color:#111;text-decoration:none;font-weight:700;}
body.woocommerce-cart .mp-cart .product-name a:hover{text-decoration:underline}

/* удалить */
body.woocommerce-cart .mp-cart a.remove{
  display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;
  background:#fff;border:1px solid #ecd0cd!important;color:#d9362b!important;
}
body.woocommerce-cart .mp-cart a.remove:hover{background:#fff2f0}

/* ==== QTY степпер – плоский, горизонтальный ==== */
body.woocommerce-cart .mp-cart .mp-qty{
  display:inline-grid; grid-template-columns:32px 48px 32px; align-items:center;
  border:1px solid #e5e5e5; border-radius:8px; overflow:hidden; background:#fff;
}
body.woocommerce-cart .mp-cart .mp-qty__btn{
  border:0; background:#fff; width:32px; height:36px; cursor:pointer;
  font-weight:800; font-size:18px; color:#111; line-height:1;
}
body.woocommerce-cart .mp-cart .mp-qty__btn:hover{background:#f6f6f6}
body.woocommerce-cart .mp-cart .mp-qty .quantity{height:36px;}
body.woocommerce-cart .mp-cart .mp-qty .quantity .qty{
  width:48px; height:36px; border:0; background:transparent; text-align:center; font-weight:700;
}

/* блок действий снизу таблицы */
body.woocommerce-cart .mp-cart .actions{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
  padding:12px; border-top:1px solid #e8e8e8;
}
body.woocommerce-cart .mp-cart .actions .coupon{display:flex;gap:8px;align-items:center}
body.woocommerce-cart .mp-cart .actions .coupon .input-text{
  height:40px; min-width:260px; border:1px solid #e6e6e6; border-radius:8px; padding:0 12px;
}
body.woocommerce-cart .mp-cart .actions .button{
  height:40px; border-radius:8px; font-weight:700; border:1px solid #e6e6e6; background:#f7f7f7;
}
body.woocommerce-cart .mp-cart .actions .button:hover{background:#efefef}

/* ==== SUMMARY (правая карточка) ==== */
body.woocommerce-cart .mp-cart__summary{position:sticky; top:88px; height:max-content;}
body.woocommerce-cart .mp-totals__box{
  background:#fff; border:1px solid #e8e8e8; border-radius:12px; padding:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.05);
}
body.woocommerce-cart .mp-totals__title{font-size:24px;font-weight:800;margin:0 0 10px}

/* строки сумм — flex, чтобы "Subtotal 3,60 €" был аккуратно */
body.woocommerce-cart .mp-totals__box .mp-totals__row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;}
body.woocommerce-cart .mp-totals__box .mp-totals__row + .mp-totals__row{border-top:1px solid #f1f1f1}
body.woocommerce-cart .mp-totals__box .mp-totals__row span:first-child{color:#666}

/* купон в правом блоке */
body.woocommerce-cart .mp-cart__summary form.coupon{display:flex;gap:8px;margin:12px 0 0}
body.woocommerce-cart .mp-cart__summary form.coupon .input-text{
  flex:1 1 auto; height:40px; border:1px solid #e6e6e6; border-radius:8px; padding:0 12px;
}
body.woocommerce-cart .mp-cart__summary form.coupon .button{
  height:40px; border-radius:8px; font-weight:800; background:#ff6f80; color:#fff; border:0;
}
body.woocommerce-cart .mp-cart__summary form.coupon .button:hover{filter:brightness(.95)}

/* чёрная кнопка checkout */
body.woocommerce-cart .mp-cart__summary .wc-proceed-to-checkout a.checkout-button{
  display:block; width:100%; height:46px; line-height:46px; text-align:center;
  border-radius:8px; font-weight:900; background:#111; color:#fff!important; margin-top:12px;
}
body.woocommerce-cart .mp-cart__summary .wc-proceed-to-checkout a.checkout-button:hover{background:#000}

/* мобилка */
@media (max-width:768px){
  body.woocommerce-cart .mp-cart table.shop_table thead{display:none}
  body.woocommerce-cart .mp-cart__summary{position:static}
  body.woocommerce-cart .mp-cart .actions{flex-direction:column;align-items:stretch}
}
/* lista "shopping bag" */
body.woocommerce-cart .mp-bag{list-style:none;margin:0;padding:0}
body.woocommerce-cart .mp-bag__row{
  display:grid; grid-template-columns: 100px 1fr 140px 110px; gap:16px; align-items:center;
  padding:16px 0; border-bottom:1px solid #e8e8e8;
}
body.woocommerce-cart .mp-bag__thumb img{width:100px;height:100px;object-fit:cover;border-radius:6px}
body.woocommerce-cart .mp-bag__title a{color:#111;text-decoration:none;font-weight:700}
body.woocommerce-cart .mp-bag__title a:hover{text-decoration:underline}
body.woocommerce-cart .mp-bag__actions{margin-top:6px;font-size:14px}
body.woocommerce-cart .mp-bag__actions a{color:#0a53a0;text-decoration:underline}
body.woocommerce-cart .mp-bag__qty{justify-self:center}
body.woocommerce-cart .mp-bag__line-total{justify-self:end;font-weight:700}
body.woocommerce-cart .mp-bag__footer{padding-top:14px}
