.page { padding: 30px 0 80px; }

.title {
  font-family: 'Orbitron', 'Cairo', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 32px;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.items { display: flex; flex-direction: column; gap: 16px; }

.item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  transition: var(--transition);
}

.item:hover { border-color: rgba(0,209,255,0.2); }

.itemImg {
  width: 70px; height: 70px;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.itemInfo { flex: 1; }

.itemName {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
}

.itemPrice {
  font-size: 0.85rem;
  color: var(--electric-blue);
  font-family: 'Orbitron', monospace;
  font-weight: 600;
}

.qtyControl {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.qtyControl button {
  width: 36px; height: 36px;
  background: transparent; border: none;
  color: var(--electric-blue); font-size: 1.1rem;
  cursor: pointer; transition: var(--transition-fast);
  display: flex; align-items: center; justify-content: center;
}

.qtyControl button:hover { background: rgba(0,209,255,0.1); }

.qtyControl span {
  width: 40px; text-align: center;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text-primary);
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.itemTotal {
  font-family: 'Orbitron', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 90px;
  text-align: end;
}

.removeBtn {
  background: transparent; border: none;
  font-size: 1rem; cursor: pointer;
  color: var(--text-muted); padding: 6px;
  border-radius: 6px; transition: var(--transition-fast);
}

.removeBtn:hover { color: var(--error); background: rgba(255,59,92,0.1); }

/* Coupon */
.couponRow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.couponMsg { font-size: 0.85rem; font-weight: 500; }

/* Shipping */
.freeShip {
  font-size: 0.85rem;
  color: var(--success);
  padding: 10px 14px;
  background: rgba(0,255,136,0.06);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 8px;
}

.freeShipHint {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}

/* Summary */
.summary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,209,255,0.15);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.summaryTitle {
  font-family: 'Orbitron', 'Cairo', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
}

.summaryRows { display: flex; flex-direction: column; gap: 10px; }

.summaryRow {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.summaryTotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'Orbitron', monospace;
}

/* Empty */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 60vh;
  text-align: center;
}

.emptyIcon { font-size: 4rem; }

.empty h2 {
  font-family: 'Orbitron', 'Cairo', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.empty p { color: var(--text-muted); }

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 600px) {
  .item { flex-wrap: wrap; }
  .itemTotal { width: 100%; text-align: start; }
}
