/* Καθολικά */
.cart-wrap h1{ margin:0 0 12px; }
.cart-empty{ text-align:center; color:#6b7785; }

/* Flash messages */
.flash{ margin:10px auto 16px; padding:10px 14px; border-radius:8px; width:min(860px,95%); }
.flash-success{ background:#e8f5e9; color:#1b5e20; border:1px solid #c8e6c9; }
.flash-error{ background:#ffebee; color:#b71c1c; border:1px solid #ffcdd2; }

/* Πίνακας καλαθιού */
.cart-table-wrap{ overflow-x:auto; border-radius:12px; border:1px solid #e0e0e0; background:#fff; }
.cart-table{
  width:100%;
  min-width:920px;
  border-collapse:separate; border-spacing:0;
  color:#000; background:#fff;
}
.cart-table thead tr{ background:#f7f7f9; }
.cart-table th, .cart-table td{ padding:12px; border-bottom:1px solid #eceff1; }
.th-right, .td-right{ text-align:right; }
.th-center, .td-center{ text-align:center; }
.td-text{ text-align:left; }
.td-photo{ text-align:center; }
.total-row td{ background:#fafafa; }

.cart-photo{ max-width:110px; height:auto; border-radius:6px; }

/* Ποσότητα */
.qty-form{ display:inline-flex; align-items:center; gap:6px; }
.qty-input{
  width:72px; padding:6px; text-align:center;
  border:1px solid #ddd; border-radius:6px;
}
.qty-btn{
  padding:6px 10px; border-radius:6px; border:1px solid #cfd8dc;
  background:#f5f7f9; cursor:pointer;
}
.btn-small{ padding:6px 10px; }

/* Κουμπιά */
.btn{ border:none; cursor:pointer; border-radius:10px; padding:8px 14px; font-weight:700; }
.btn-primary{ background:#1976d2; color:#fff; }
.btn-success{ background:#2e7d32; color:#fff; }
.btn-danger{ background:#f44336; color:#fff; }

.rm-form{ display:inline; }

/* Σύνολο */
.cart-total{ text-align:right; font-weight:700; padding:12px; }

/* Κάτω σύνδεσμοι */
.link-row{
  display:flex; justify-content:center; align-items:center;
  gap:10px; margin-top:18px;
}
.link-btn{
  color:#2b2b2b; text-decoration:none; font-weight:600;
  padding:6px 10px; border-radius:8px; background:#f2f4f7; border:1px solid #e3e7eb;
}
.link-btn:hover{ background:#e9edf2; }
.sep{ opacity:.5; }
.cart-actions{ margin:16px 0; display:flex; justify-content:center; }
