/* cart.css — Shopping cart page */

.cart-page {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* ── MAIN CART AREA ──────────────────────────────────── */
.cart-main {
  flex: 1;
  min-width: 0;
}
.cart-main__header {
  background: var(--white);
  padding: 16px 20px 0;
  font-size: 28px;
  font-weight: 400;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

/* Empty cart state */
.cart-empty {
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 24px;
  gap: 24px;
}
.cart-empty__img { width: 280px; height: auto; object-fit: contain; }
.cart-empty__info h2 { font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.cart-empty__info p  { color: #007185; font-size: 18px; margin-bottom: 16px; }
.cart-empty__actions { display: flex; gap: 10px; }

.cart-btn {
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  font-family: var(--font);
  transition: filter .15s;
}
.cart-btn:hover { filter: brightness(.92); }
.cart-btn--yellow { background: #ffd814; }
.cart-btn--white  { background: var(--white); border: 1px solid #d5d9d9; }

.cart-notice {
  background: var(--white);
  padding: 14px 20px;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  border-top: 1px solid #eee;
  margin-top: 12px;
}

/* ── SIDEBAR: SUBTOTAL + RECOMMENDATIONS ─────────────── */
.cart-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.cart-subtotal {
  background: var(--white);
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 16px;
}
.cart-subtotal h3 { font-size: 18px; font-weight: 400; margin-bottom: 14px; }
.cart-subtotal__total { font-size: 15px; margin-bottom: 14px; }
.cart-subtotal__total strong { font-size: 18px; }
.cart-subtotal__btn {
  width: 100%;
  padding: 9px;
  background: #ffd814;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  transition: filter .15s;
}
.cart-subtotal__btn:hover { filter: brightness(.92); }

/* Recommendations */
.cart-recs {
  background: var(--white);
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.cart-recs h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; line-height: 1.4; }

.rec-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.rec-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rec-item__img { width: 90px; height: 90px; object-fit: contain; flex-shrink: 0; }
.rec-item__info { flex: 1; font-size: 13px; }
.rec-item__info p { margin-bottom: 4px; line-height: 1.4; }
.rec-item__stars { color: #e77600; font-size: 12px; margin-bottom: 2px; }
.rec-item__price { color: #b12704; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.rec-item__btn {
  padding: 5px 12px;
  background: #ffd814;
  border: none;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font);
}
